mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
fix(freight:api): migration fix on companies FAN number
This commit is contained in:
@@ -6,7 +6,7 @@ export class AddFanNumberToCompanies1749300000000 implements MigrationInterface
|
|||||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
await queryRunner.query(`
|
await queryRunner.query(`
|
||||||
ALTER TABLE freight.companies
|
ALTER TABLE freight.companies
|
||||||
ADD COLUMN fan_number varchar(16) NULL;
|
ADD COLUMN IF NOT EXISTS fan_number varchar(16) NULL;
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user