mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix: remove unneeded todo schema at auth.ts from drizzle-sqlite template (#114)
This commit is contained in:
@@ -1,11 +1,5 @@
|
|||||||
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
|
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", {
|
export const user = sqliteTable("user", {
|
||||||
id: text("id").primaryKey(),
|
id: text("id").primaryKey(),
|
||||||
name: text("name").notNull(),
|
name: text("name").notNull(),
|
||||||
|
|||||||
Reference in New Issue
Block a user