This commit is contained in:
Frank 2025-09-18 10:59:01 -04:00
commit 4ceabdffa0
156 changed files with 443 additions and 445 deletions

View file

@ -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)],
)