more work with Dockerfile and dbmate

This commit is contained in:
Lucas Tettamanti
2026-02-04 18:16:32 -03:00
parent f838603877
commit d8a0677912
6 changed files with 119 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
-- migrate:up
-- Crear tenant Piaf (sin credenciales sensibles - esas van por variable de entorno)
INSERT INTO tenants (id, key, name)
VALUES (
'eb71b9a7-9ccf-430e-9b25-951a0c589c0f'::uuid,
'piaf',
'Piaf'
)
ON CONFLICT (id) DO NOTHING;
-- migrate:down
DELETE FROM tenants WHERE id = 'eb71b9a7-9ccf-430e-9b25-951a0c589c0f'::uuid;