5 lines
155 B
SQL
5 lines
155 B
SQL
-- AlterTable
|
|
ALTER TABLE "Invoice" ADD COLUMN "cancelledAt" TIMESTAMP(3);
|
|
|
|
UPDATE "Invoice" SET "cancelledAt" = "expiresAt" WHERE "cancelled" = true;
|