Rollback to a1d67c74
This commit is contained in:
@@ -11,12 +11,10 @@ export const users = mysqlTable("users", {
|
||||
* Use this for relations between tables.
|
||||
*/
|
||||
id: int("id").autoincrement().primaryKey(),
|
||||
/** Identifiant OAuth Manus (optionnel, pour connexion OAuth) */
|
||||
openId: varchar("openId", { length: 64 }).unique(),
|
||||
/** Email unique pour la connexion */
|
||||
email: varchar("email", { length: 320 }).notNull().unique(),
|
||||
/** Mot de passe hashé avec bcrypt (optionnel, pour connexion locale) */
|
||||
password: varchar("password", { length: 255 }),
|
||||
/** Mot de passe hashé avec bcrypt */
|
||||
password: varchar("password", { length: 255 }).notNull(),
|
||||
name: text("name"),
|
||||
/** Email vérifié ou non */
|
||||
emailVerified: boolean("emailVerified").default(false).notNull(),
|
||||
|
||||
Reference in New Issue
Block a user