mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-28 06:48:36 +09:00
25 lines
1.1 KiB
JavaScript
25 lines
1.1 KiB
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export class MultipleTranslationServices1685378242713 {
|
|
name = 'MultipleTranslationServices1685378242713'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "ctav3SaKey" character varying(5120)`);
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "ctav3ProjectId" character varying(1024)`);
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "ctav3Location" character varying(1024)`);
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "ctav3Model" character varying(1024)`);
|
|
await queryRunner.query(`ALTER TABLE "meta" ADD "ctav3Glossary" character varying(1024)`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ctav3SaKey"`);
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ctav3ProjectId"`);
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ctav3Location"`);
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ctav3Model"`);
|
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ctav3Glossary"`);
|
|
}
|
|
}
|