Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 5 additions & 27 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions drizzle/0030_people_cleanup.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ALTER TABLE "people_files" DISABLE ROW LEVEL SECURITY;--> statement-breakpoint
ALTER TABLE "people_receipt_requests" DISABLE ROW LEVEL SECURITY;--> statement-breakpoint
ALTER TABLE "people_receipts" DISABLE ROW LEVEL SECURITY;--> statement-breakpoint
DROP TABLE "people_files" CASCADE;--> statement-breakpoint
DROP TABLE "people_receipt_requests" CASCADE;--> statement-breakpoint
DROP TABLE "people_receipts" CASCADE;--> statement-breakpoint
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
ALTER TABLE "people_identities" DROP CONSTRAINT "people_identities_member_number_unique";--> statement-breakpoint
ALTER TABLE "people_identities" DROP COLUMN "member_number";--> statement-breakpoint
-- The People records hold only test data shaped for the removed features (PoliNetworkOrg/backend#100): start empty.
DELETE FROM "people_identities";--> statement-breakpoint
DELETE FROM "people_records";
Loading
Loading