chore (backend): use timestamptz
This commit is contained in:
parent
ba7fa4393a
commit
64d7aa40b1
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ export class CreateScheduledNote1714728200194
|
|||
"id" character varying(32) NOT NULL PRIMARY KEY,
|
||||
"noteId" character varying(32) NOT NULL,
|
||||
"userId" character varying(32) NOT NULL,
|
||||
"scheduledAt" TIMESTAMP WITHOUT TIME ZONE NOT NULL
|
||||
"scheduledAt" TIMESTAMP WITH TIME ZONE NOT NULL
|
||||
)`,
|
||||
);
|
||||
await queryRunner.query(`
|
||||
|
|
|
@ -28,7 +28,7 @@ export class ScheduledNote {
|
|||
@Column(id())
|
||||
public userId: User["id"];
|
||||
|
||||
@Column("timestamp without time zone")
|
||||
@Column("timestamp with time zone")
|
||||
public scheduledAt: Date;
|
||||
|
||||
//#region Relations
|
||||
|
|
Loading…
Reference in a new issue