Add userDismissedAt field to agents schema
This commit is contained in:
12
drizzle/0002_bumpy_killraven.sql
Normal file
12
drizzle/0002_bumpy_killraven.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE `pages` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`initiative_id` text NOT NULL,
|
||||
`parent_page_id` text,
|
||||
`title` text NOT NULL,
|
||||
`content` text,
|
||||
`sort_order` integer DEFAULT 0 NOT NULL,
|
||||
`created_at` integer NOT NULL,
|
||||
`updated_at` integer NOT NULL,
|
||||
FOREIGN KEY (`initiative_id`) REFERENCES `initiatives`(`id`) ON UPDATE no action ON DELETE cascade,
|
||||
FOREIGN KEY (`parent_page_id`) REFERENCES `pages`(`id`) ON UPDATE no action ON DELETE cascade
|
||||
);
|
||||
Reference in New Issue
Block a user