This commit is contained in:
Frank
2025-09-18 01:32:40 -04:00
parent f8c4f713a5
commit fc4f281408
155 changed files with 415 additions and 415 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)],
)