feat: getting the db ready
This commit is contained in:
8
server/db/schema.ts
Normal file
8
server/db/schema.ts
Normal 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(),
|
||||
});
|
||||
Reference in New Issue
Block a user