remove created_at and update_at database columns on strike reason and punishment tables
All checks were successful
delpoy / build-and-deploy (push) Successful in 1m1s

This commit is contained in:
bytedream 2023-12-10 19:31:04 +01:00
parent 9352083884
commit 8a5eed787a

View File

@ -76,7 +76,7 @@ export class Report extends Model {
declare strike_reason: StrikeReason;
}
@Table({ modelName: 'strike_reason', underscored: true })
@Table({ modelName: 'strike_reason', underscored: true, createdAt: false, updatedAt: false })
export class StrikeReason extends Model {
@Column({ type: DataTypes.INTEGER, allowNull: false })
declare weight: number;
@ -84,7 +84,7 @@ export class StrikeReason extends Model {
declare name: string;
}
@Table({ modelName: 'strike_punishment', underscored: true })
@Table({ modelName: 'strike_punishment', underscored: true, createdAt: false, updatedAt: false })
export class StrikePunishment extends Model {
@Column({ type: DataTypes.INTEGER, allowNull: false })
declare weight: number;