blob: 36e96fd21e397f074b6421a91d921f3bbd430314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
export class removeViaMobile1636697408073 {
name = 'removeViaMobile1636697408073'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "viaMobile"`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "note" ADD "viaMobile" boolean NOT NULL DEFAULT false`);
}
}
|