feat: completely remove redis
This commit is contained in:
12
drizzle/0009_free_robin_chapel.sql
Normal file
12
drizzle/0009_free_robin_chapel.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE `cache` (
|
||||
`scope` text NOT NULL,
|
||||
`key` text PRIMARY KEY NOT NULL,
|
||||
`json` text,
|
||||
`binary` blob,
|
||||
`created_at` integer DEFAULT (current_timestamp),
|
||||
`expires_at` integer
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE INDEX `key_idx` ON `cache` (`key`);--> statement-breakpoint
|
||||
CREATE INDEX `scope_idx` ON `cache` (`scope`);--> statement-breakpoint
|
||||
CREATE INDEX `name_idx` ON `document` (`name`);
|
||||
Reference in New Issue
Block a user