aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--resources/dbasik.sql (renamed from migrations/dbasik.sql)0
-rw-r--r--resources/setup.sql (renamed from migrations/setup.sql)2
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/dbasik.sql b/resources/dbasik.sql
index b5bb6f9..b5bb6f9 100644
--- a/migrations/dbasik.sql
+++ b/resources/dbasik.sql
diff --git a/migrations/setup.sql b/resources/setup.sql
index 3d95044..dac150f 100644
--- a/migrations/setup.sql
+++ b/resources/setup.sql
@@ -3,4 +3,6 @@ CREATE DATABASE dbasik;
\c dbasik
CREATE ROLE 'dbasik' WITH LOGIN PASSWORD 'dbasik';
+GRANT ALL PRIVILEGES ON DATABASE 'dbasik' TO 'dbasik';
+ALTER DATABASE 'dbasik' OWNER TO 'dbasik';
CREATE EXTENSION IF NOT EXISTS citext;