From bd300b71c5c00cc5d733844bcf45c9e5891d5502 Mon Sep 17 00:00:00 2001 From: guimroque Date: Fri, 1 Mar 2024 13:54:27 -0300 Subject: [PATCH] fix(hotfix): hotfix --- .../migrations/1708453146421-add-column-webauthn-user-type.ts | 1 - src/models/User.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/database/migrations/1708453146421-add-column-webauthn-user-type.ts b/src/database/migrations/1708453146421-add-column-webauthn-user-type.ts index 7f1cf6cc4..c35809b6b 100644 --- a/src/database/migrations/1708453146421-add-column-webauthn-user-type.ts +++ b/src/database/migrations/1708453146421-add-column-webauthn-user-type.ts @@ -16,7 +16,6 @@ export class addColumnWebauthn1708453146421 implements MigrationInterface { new TableColumn({ name: 'type', type: 'varchar', - isNullable: false, }), ); } diff --git a/src/models/User.ts b/src/models/User.ts index b0cbf3518..dfdcc80c2 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -52,7 +52,6 @@ class User extends Base { @Column({ default: TypeUser.FUEL, - nullable: false, }) type: TypeUser;