feat: getting the db ready

This commit is contained in:
2026-03-18 00:14:36 +01:00
parent 9703fa77e2
commit 3be2034a49
12 changed files with 1122 additions and 89 deletions

View File

@@ -0,0 +1,10 @@
CREATE TABLE `links` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`name` text NOT NULL,
`path` text NOT NULL,
`url` text NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `links_name_unique` ON `links` (`name`);--> statement-breakpoint
CREATE UNIQUE INDEX `links_path_unique` ON `links` (`path`);--> statement-breakpoint
CREATE UNIQUE INDEX `links_url_unique` ON `links` (`url`);