mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
14 lines
351 B
JavaScript
14 lines
351 B
JavaScript
export class InstanceSilence1682891890317 {
|
|
name = "InstanceSilence1682891890317";
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(
|
|
`ALTER TABLE "meta" ADD "silencedHosts" character varying(256) array NOT NULL DEFAULT '{}'`,
|
|
);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "silencedHosts"`);
|
|
}
|
|
}
|