chore (backend): use timestamptz

This commit is contained in:
naskya 2024-05-19 19:56:29 +09:00
parent ba7fa4393a
commit 64d7aa40b1
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 2 additions and 2 deletions

View file

@ -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(`

View file

@ -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