feat: establish production SaaS foundation

This commit is contained in:
Codex
2026-07-12 19:26:57 +08:00
parent 1c2ce38cea
commit 39f7332f33
219 changed files with 20647 additions and 2628 deletions

View File

@@ -1,3 +1,10 @@
insert into app_private.environment_safety (id, environment, allow_destructive_tests)
values (true, 'local', true)
on conflict (id)
do update set environment = excluded.environment,
allow_destructive_tests = excluded.allow_destructive_tests,
updated_at = now();
insert into public.tenants (id, slug, name, status, mode)
values (
'00000000-0000-0000-0000-000000000001',