feat(db): drizzle schema (settings, sessions) + boot migrations

This commit is contained in:
marcuspaico
2026-08-17 14:04:56 -07:00
parent caa9af2f40
commit 0f96d5e3b8
7 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
CREATE TABLE `sessions` (
`id` text PRIMARY KEY NOT NULL,
`created_at` integer NOT NULL,
`expires_at` integer NOT NULL
);
--> statement-breakpoint
CREATE TABLE `settings` (
`key` text PRIMARY KEY NOT NULL,
`value` text NOT NULL
);