chore: Remove updatedAt column from events table (#3841)
This commit is contained in:
@@ -20,7 +20,7 @@ import User from "./User";
|
||||
import IdModel from "./base/IdModel";
|
||||
import Fix from "./decorators/Fix";
|
||||
|
||||
@Table({ tableName: "events", modelName: "event" })
|
||||
@Table({ tableName: "events", modelName: "event", updatedAt: false })
|
||||
@Fix
|
||||
class Event extends IdModel {
|
||||
@IsUUID(4)
|
||||
@@ -106,7 +106,6 @@ class Event extends IdModel {
|
||||
globalEventQueue.add(
|
||||
this.build({
|
||||
createdAt: now,
|
||||
updatedAt: now,
|
||||
...event,
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user