make reported user nullable
All checks were successful
delpoy / build-and-deploy (push) Successful in 44s
All checks were successful
delpoy / build-and-deploy (push) Successful in 44s
This commit is contained in:
@@ -56,7 +56,7 @@ export class Report extends Model {
|
||||
@Column({ type: DataTypes.INTEGER, allowNull: false })
|
||||
@ForeignKey(() => User)
|
||||
declare reporter_id: number;
|
||||
@Column({ type: DataTypes.INTEGER, allowNull: false })
|
||||
@Column({ type: DataTypes.INTEGER })
|
||||
@ForeignKey(() => User)
|
||||
declare reported_id: number;
|
||||
@Column({ type: DataTypes.INTEGER })
|
||||
|
||||
Reference in New Issue
Block a user