fix: remove unneeded todo schema at auth.ts from drizzle-sqlite template (#114)

This commit is contained in:
Joan Fornés Rayó
2025-04-05 14:44:55 +02:00
committed by GitHub
parent c6d64048ed
commit 6b2cde8030

View File

@@ -1,11 +1,5 @@
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
export const todo = sqliteTable("todo", {
id: integer("id").primaryKey({ autoIncrement: true }),
text: text("text").notNull(),
completed: integer("completed", { mode: "boolean" }).default(false).notNull()
});
export const user = sqliteTable("user", {
id: text("id").primaryKey(),
name: text("name").notNull(),