Skip to content

Commit

Permalink
Name can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Oct 22, 2023
1 parent 037a243 commit e73c8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/db/schema/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {

export const users = mysqlTable('user', {
id: varchar('id', { length: 255 }).notNull().primaryKey(),
name: varchar('name', { length: 255 }).notNull(),
name: varchar('name', { length: 255 }),
hashedPassword: varchar('hashedPassword', { length: 255 }),
email: varchar('email', { length: 255 }).unique().notNull(),
emailVerified: timestamp('emailVerified', {
Expand Down

0 comments on commit e73c8d6

Please sign in to comment.