no message

This commit is contained in:
kittapath 2024-09-25 21:05:16 +07:00
parent 7697d6d46a
commit c0b920819d
6 changed files with 56 additions and 6 deletions

View file

@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class UpdateCommandReciveAddIsbangkok1727272904603 implements MigrationInterface {
name = 'UpdateCommandReciveAddIsbangkok1727272904603'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`command\` ADD \`isBangkok\` tinyint NULL COMMENT 'คำสั่งกรุงเทพมหานคร'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`command\` DROP COLUMN \`isBangkok\``);
}
}