more work with Dockerfile and dbmate
This commit is contained in:
13
db/migrations/20260204180834_seed_tenant_piaf.sql
Normal file
13
db/migrations/20260204180834_seed_tenant_piaf.sql
Normal 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;
|
||||
Reference in New Issue
Block a user