From a09900b91742c18c779e3a0108c466e020d94006 Mon Sep 17 00:00:00 2001 From: lucasrodes Date: Mon, 6 Jan 2025 19:39:11 +0100 Subject: [PATCH] change db table type --- ...95813-UpdateHousekeepingSuggestedReviews.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts diff --git a/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts b/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts new file mode 100644 index 0000000000..41bfc29552 --- /dev/null +++ b/db/migration/1736188395813-UpdateHousekeepingSuggestedReviews.ts @@ -0,0 +1,18 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class HousekeepingSuggestedReviews1736188395813 implements MigrationInterface { + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`-- sql + ALTER TABLE housekeeping_suggested_reviews + MODIFY COLUMN objectId INTEGER NOT NULL; + `) + } + + public async down(): Promise {} + +} + + +// ALTER TABLE employees +