Files
papercrate/backend/migrations/20240902003000_seed_default_tenant/up.sql
T
2025-10-22 22:52:59 +02:00

11 lines
219 B
SQL

INSERT INTO public.tenants (tenant_id, slug, storage_root, quickwit_index, status, config)
VALUES (
gen_random_uuid(),
'admin',
NULL,
NULL,
'active',
'{}'::jsonb
)
ON CONFLICT (slug) DO NOTHING;