no message

This commit is contained in:
kittapath 2024-10-16 14:40:37 +07:00
parent f67dab02a0
commit 2b9cd85532
4 changed files with 111 additions and 63 deletions

View file

@ -0,0 +1,16 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class AddTableWorkflow71729055668134 implements MigrationInterface {
name = 'AddTableWorkflow71729055668134'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`workflow\` ADD \`refId\` varchar(255) NULL COMMENT 'refIdw'`);
await queryRunner.query(`ALTER TABLE \`workflow\` ADD \`system\` varchar(255) NULL COMMENT 'system'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`workflow\` DROP COLUMN \`system\``);
await queryRunner.query(`ALTER TABLE \`workflow\` DROP COLUMN \`refId\``);
}
}