feat: phase 1 of python scripting
This commit is contained in:
15
drizzle/0005_short_sally_floyd.sql
Normal file
15
drizzle/0005_short_sally_floyd.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE `scripts` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`project_id` text NOT NULL,
|
||||
`slug` text NOT NULL,
|
||||
`title` text NOT NULL,
|
||||
`kind` text DEFAULT 'utility' NOT NULL,
|
||||
`entrypoint` text DEFAULT 'render' NOT NULL,
|
||||
`enabled` integer DEFAULT true NOT NULL,
|
||||
`version` integer DEFAULT 1 NOT NULL,
|
||||
`file_path` text NOT NULL,
|
||||
`created_at` integer NOT NULL,
|
||||
`updated_at` integer NOT NULL
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX `scripts_project_slug_idx` ON `scripts` (`project_id`,`slug`);
|
||||
Reference in New Issue
Block a user