From e73c8d6667eb0e8baf40a8d7a77de5eefd67e8cd Mon Sep 17 00:00:00 2001 From: mauriciabad Date: Sun, 22 Oct 2023 20:07:50 +0200 Subject: [PATCH] Name can be null --- src/server/db/schema/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/db/schema/users.ts b/src/server/db/schema/users.ts index 98f0e821..d4bca6b7 100644 --- a/src/server/db/schema/users.ts +++ b/src/server/db/schema/users.ts @@ -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', {