mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
a
This commit is contained in:
13
packages/backend/migration/1707888646527-proxycheckio.js
Normal file
13
packages/backend/migration/1707888646527-proxycheckio.js
Normal 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"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user