mirror of
https://github.com/hotomoe/hotomoe
synced 2025-01-06 09:52:53 +09:00
12 lines
357 B
JavaScript
12 lines
357 B
JavaScript
export class AntennaExcludeBots1710919614510 {
|
|
name = 'AntennaExcludeBots1710919614510'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "antenna" ADD "excludeBots" boolean NOT NULL DEFAULT false`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "excludeBots"`);
|
|
}
|
|
}
|