no message

This commit is contained in:
kittapath 2024-11-21 11:33:35 +07:00
parent 04406080dc
commit fb5a30c699
4 changed files with 123 additions and 1 deletions

View file

@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class UpdataOrgAddRemark1732163306077 implements MigrationInterface {
name = 'UpdataOrgAddRemark1732163306077'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`orgRevision\` ADD \`remark\` varchar(255) NULL COMMENT 'หมายเหตุ'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`orgRevision\` DROP COLUMN \`remark\``);
}
}