From 36fb5a4c63aada8e8107b8e9d97a6ba128d13494 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 29 Sep 2024 01:24:04 +0000 Subject: feature(web): Add the ability to customize the inference prompts. Fixes #170 --- packages/db/drizzle/0027_cute_talon.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/db/drizzle/0027_cute_talon.sql (limited to 'packages/db/drizzle/0027_cute_talon.sql') diff --git a/packages/db/drizzle/0027_cute_talon.sql b/packages/db/drizzle/0027_cute_talon.sql new file mode 100644 index 00000000..695f9442 --- /dev/null +++ b/packages/db/drizzle/0027_cute_talon.sql @@ -0,0 +1,11 @@ +CREATE TABLE `customPrompts` ( + `id` text PRIMARY KEY NOT NULL, + `text` text NOT NULL, + `enabled` integer NOT NULL, + `attachedBy` text NOT NULL, + `createdAt` integer NOT NULL, + `userId` text NOT NULL, + FOREIGN KEY (`userId`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade +); +--> statement-breakpoint +CREATE INDEX `customPrompts_userId_idx` ON `customPrompts` (`userId`); \ No newline at end of file -- cgit v1.2.3-70-g09d2