FitTrackee/mpwo_api/db/create.sql
2018-01-14 12:49:52 +01:00

8 lines
252 B
SQL

DROP DATABASE IF EXISTS mpwo;
DROP DATABASE IF EXISTS mpwo_test;
CREATE DATABASE mpwo;
CREATE DATABASE mpwo_test;
CREATE USER mpwo WITH PASSWORD 'mpwo';
GRANT ALL PRIVILEGES ON DATABASE mpwo TO mpwo;
GRANT ALL PRIVILEGES ON DATABASE mpwo_test TO mpwo;