blob: cc669a63c3687f5ba61d474ced635c20375f7266 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { MigrationInterface, QueryRunner } from "typeorm";
export class ChannelStatus1772404321401 implements MigrationInterface {
name = "ChannelStatus1772404321401";
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "channels" ADD "status" text NULL;`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "channels" DROP COLUMN "status"`);
}
}
|