Skip to content

Commit f3b2286

Browse files
authored
[sql] Grant DB privileges in a non-deprecated way (#1305)
1 parent 38562e5 commit f3b2286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/sql/dbinit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838
CREATE DATABASE omicron;
3939
CREATE USER omicron;
40-
GRANT INSERT, SELECT, UPDATE, DELETE ON DATABASE omicron to omicron;
40+
ALTER DEFAULT PRIVILEGES GRANT INSERT, SELECT, UPDATE, DELETE ON TABLES to omicron;
4141

4242
/*
4343
* Racks

0 commit comments

Comments
 (0)