2023-04-30 22:00:19 +00:00
|
|
|
export class InstanceSilence1682891890317 {
|
2023-04-30 22:01:06 +00:00
|
|
|
name = "InstanceSilence1682891890317";
|
2023-04-30 22:00:19 +00:00
|
|
|
|
2023-04-30 22:01:06 +00:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "meta" ADD "silencedHosts" character varying(256) array NOT NULL DEFAULT '{}'`,
|
|
|
|
);
|
|
|
|
}
|
2023-04-30 22:00:19 +00:00
|
|
|
|
2023-04-30 22:01:06 +00:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "silencedHosts"`);
|
|
|
|
}
|
2023-04-30 22:00:19 +00:00
|
|
|
}
|