This commit is contained in:
mattyatea 2024-02-16 19:46:53 +09:00
parent a89d495300
commit 332a3f2737

View file

@ -0,0 +1,13 @@
export class Proxycheckio1707888646527 {
name = 'Proxycheckio1707888646527'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "enableProxyCheckio" boolean NOT NULL DEFAULT false`);
await queryRunner.query(`ALTER TABLE "meta" ADD "proxyCheckioApiKey" character varying(32)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "proxyCheckioApiKey"`);
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableProxyCheckio"`);
}
}