From 42d5161ab6d576ef1cd317ebdc715c0be15969c3 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Wed, 29 Apr 2026 17:45:40 +0200 Subject: [PATCH] chore(db): add deleted_at to profiles and organizations Co-Authored-By: Claude Sonnet 4.6 (1M context) --- ...60427120000_add_deleted_at_to_profiles_and_organizations.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 supabase/migrations/20260427120000_add_deleted_at_to_profiles_and_organizations.sql diff --git a/supabase/migrations/20260427120000_add_deleted_at_to_profiles_and_organizations.sql b/supabase/migrations/20260427120000_add_deleted_at_to_profiles_and_organizations.sql new file mode 100644 index 0000000..4652ae0 --- /dev/null +++ b/supabase/migrations/20260427120000_add_deleted_at_to_profiles_and_organizations.sql @@ -0,0 +1,2 @@ +ALTER TABLE profiles ADD COLUMN IF NOT EXISTS deleted_at timestamptz DEFAULT NULL; +ALTER TABLE organizations ADD COLUMN IF NOT EXISTS deleted_at timestamptz DEFAULT NULL;