3 lines
154 B
SQL
3 lines
154 B
SQL
SELECT 'CREATE DATABASE hydra' WHERE NOT EXISTS (SELECT * FROM pg_database WHERE datname = 'hydra')\gexec
|
|
GRANT ALL PRIVILEGES ON DATABASE hydra TO lasql
|