This commit is contained in:
Kittapath 2024-06-11 16:36:18 +07:00
parent 87047b383d
commit 8337a92637

View file

@ -0,0 +1,14 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class UpdateTableProfileempAddRole21718098502267 implements MigrationInterface {
name = 'UpdateTableProfileempAddRole21718098502267'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`changePosition\` ADD \`status\` text NULL COMMENT 'สถานะ'`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE \`changePosition\` DROP COLUMN \`status\``);
}
}