feat: keep up with technical recommandations
This commit is contained in:
7
misc/compose/postgres/init-db.d/1_create_user_pve.sql
Normal file
7
misc/compose/postgres/init-db.d/1_create_user_pve.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- IF NOT EXISTS (SELECT * FROM pg_user WHERE usename = 'lasql')then
|
||||
-- CREATE USER lasql WITH PASSWORD 'lasql';
|
||||
-- END IF;
|
||||
|
||||
-- GRANT ALL PRIVILEGES ON DATABASE lasql TO lasql;
|
||||
-- ALTER USER lasql WITH SUPERUSER;
|
||||
|
Reference in New Issue
Block a user