This commit is contained in:
Frank
2025-09-18 10:59:01 -04:00
parent 563d0b5606
commit fd354e7e52
156 changed files with 427 additions and 429 deletions
@@ -0,0 +1,12 @@
import { mysqlTable, uniqueIndex, varchar } from "drizzle-orm/mysql-core"
import { id, timestamps } from "../drizzle/types"
export const AccountTable = mysqlTable(
"account",
{
id: id(),
...timestamps,
email: varchar("email", { length: 255 }).notNull(),
},
(table) => [uniqueIndex("email").on(table.email)],
)