diff --git a/src/lib/models/User.ts b/src/lib/models/User.ts index 7fbe1f5..c7ae2ec 100644 --- a/src/lib/models/User.ts +++ b/src/lib/models/User.ts @@ -103,10 +103,9 @@ export class User extends Model { * The id of the media that is the users profile picture */ @ForeignKey(() => Media) - @Column({allowNull: false}) + @Column({allowNull: true}) public mediaId: number; - /** * The media of the user */