export const customers = mysqlTable("customer", {
id: varchar("id", { length: 256 })
.default(sql`UUID()`)
.primaryKey(),
fullName: varchar("full_name", { length: 256 }).notNull(),
email: varchar("email", { length: 256 }),
phoneNumber: varchar("phone_number", { length: 256 }).unique().notNull(),
createdAt: datetime("created_at", { fsp: 3 })
.notNull()
.default(sql`CURRENT_TIMESTAMP()`),
updatedAt: datetime("updated_at", { fsp: 3 })
.notNull()
.default(sql`CURRENT_TIMESTAMP()`),
});
export const customers = mysqlTable("customer", {
id: varchar("id", { length: 256 })
.default(sql`UUID()`)
.primaryKey(),
fullName: varchar("full_name", { length: 256 }).notNull(),
email: varchar("email", { length: 256 }),
phoneNumber: varchar("phone_number", { length: 256 }).unique().notNull(),
createdAt: datetime("created_at", { fsp: 3 })
.notNull()
.default(sql`CURRENT_TIMESTAMP()`),
updatedAt: datetime("updated_at", { fsp: 3 })
.notNull()
.default(sql`CURRENT_TIMESTAMP()`),
});