hydra-sql/containers/compose/postgres/init-db.d/1_create_user_pve.sql

8 lines
218 B
MySQL
Raw Permalink Normal View History

-- 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;