DROP DATABASE mattermost;
CREATE DATABASE mattermost;
CREATE USER mmuser WITH PASSWORD 'mmpass';
GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser;
