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

8
server/db/schema.ts Normal file
View File

@@ -0,0 +1,8 @@
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
export const links = sqliteTable("links", {
id: integer("id").primaryKey({ autoIncrement: true }),
name: text("name").notNull().unique(),
path: text("path").notNull().unique(),
url: text("url").notNull().unique(),
});