API: use of PostgreSQL instead of MySQL

API: use of PostgreSQL instead of MySQL
This commit is contained in:
SamR1
2018-01-07 18:11:19 +01:00
parent 81b1370b5e
commit a8faabddc3
6 changed files with 11 additions and 8 deletions

View File

@ -1,6 +0,0 @@
CREATE DATABASE IF NOT EXISTS mpwo CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE IF NOT EXISTS mpwo_test CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'mpwo'@'localhost' IDENTIFIED BY 'mpwo';
GRANT ALL PRIVILEGES ON `mpwo` . * TO 'mpwo'@'localhost';
GRANT ALL PRIVILEGES ON `mpwo_dev` . * TO 'mpwo'@'localhost';
FLUSH PRIVILEGES;