Fix sql e migration

This commit is contained in:
Lorenzo Sanesi
2026-07-25 12:37:29 +02:00
parent 7cd0a1ff1b
commit a4cca3f2c1
17 changed files with 8 additions and 594 deletions
-5
View File
@@ -1,5 +0,0 @@
-- scouthub-home-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_home'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'scouthub_home')
\gexec