This commit is contained in:
2026-06-06 17:02:45 -04:00
parent 47609e5e42
commit db4c656730
22 changed files with 6195 additions and 326 deletions

View File

@@ -0,0 +1,14 @@
CREATE TABLE `flagged_content` (
`id` text PRIMARY KEY NOT NULL,
`content_type` text NOT NULL,
`content_id` text NOT NULL,
`field_name` text NOT NULL,
`notes` text DEFAULT '',
`flag_count` integer DEFAULT 1 NOT NULL,
`created_at` text DEFAULT (datetime('now')) NOT NULL,
`updated_at` text DEFAULT (datetime('now')) NOT NULL
);
--> statement-breakpoint
CREATE INDEX `idx_flagged_content_type` ON `flagged_content` (`content_type`);
--> statement-breakpoint
CREATE INDEX `idx_flagged_content_id` ON `flagged_content` (`content_id`);