update database initialization to work w/ PGSQL15+
This commit is contained in:
parent
1dc35c379d
commit
0f93f53151
@ -1,9 +1,9 @@
|
|||||||
DROP DATABASE IF EXISTS fittrackee;
|
DROP DATABASE IF EXISTS fittrackee;
|
||||||
DROP DATABASE IF EXISTS fittrackee_test;
|
DROP DATABASE IF EXISTS fittrackee_test;
|
||||||
|
DROP SCHEMA IF EXISTS fittrackee;
|
||||||
DROP USER IF EXISTS fittrackee;
|
DROP USER IF EXISTS fittrackee;
|
||||||
|
|
||||||
CREATE DATABASE fittrackee;
|
|
||||||
CREATE DATABASE fittrackee_test;
|
|
||||||
CREATE USER fittrackee WITH PASSWORD 'fittrackee';
|
CREATE USER fittrackee WITH PASSWORD 'fittrackee';
|
||||||
GRANT ALL PRIVILEGES ON DATABASE fittrackee TO fittrackee;
|
CREATE SCHEMA fittrackee AUTHORIZATION fittrackee;
|
||||||
GRANT ALL PRIVILEGES ON DATABASE fittrackee_test TO fittrackee;
|
CREATE DATABASE fittrackee OWNER fittrackee;
|
||||||
|
CREATE DATABASE fittrackee_test OWNER fittrackee;
|
||||||
|
Loading…
Reference in New Issue
Block a user