first commit

This commit is contained in:
2026-08-24 13:06:29 +05:30
commit 7d12ebef3d
86 changed files with 39996 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
-- Reverses 000004.
--
-- Drops exactly what the up migration created and nothing else: no CASCADE on
-- a schema, no DROP SCHEMA, no DROP DATABASE, and no touch to users beyond
-- removing the index 000004 added. users_org_email_key predates this migration
-- and is left alone.
--
-- Dropping `sessions` logs everyone out. That is the correct meaning of
-- rolling back the authentication foundation, and it destroys no application
-- data: every row in this table is a credential, not a record.
SET search_path = public;
DROP TABLE IF EXISTS public.sessions;
DROP INDEX IF EXISTS public.users_email_global_key;