Fix sql e migration
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- scouthub-attivita-be usa un database separato sulla stessa istanza Postgres di "db".
|
||||
-- Eseguito solo al primo avvio del container (volume dati vuoto).
|
||||
SELECT 'CREATE DATABASE scouthub'
|
||||
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'scouthub')
|
||||
\gexec
|
||||
Reference in New Issue
Block a user