@ -103,10 +103,9 @@ export class User extends Model<User> {
* 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