diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0f786a6b1..31b02821b 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -756,6 +756,7 @@ high: "高" middle: "中" low: "低" emailNotConfiguredWarning: "メールアドレスの設定がされていません。" +ratio: "比率" _forgotPassword: enterEmail: "アカウントに登録したメールアドレスを入力してください。そのアドレス宛てに、パスワードリセット用のリンクが送信されます。" diff --git a/migration/1620364649428-ad2.ts b/migration/1620364649428-ad2.ts new file mode 100644 index 000000000..a2d7f563c --- /dev/null +++ b/migration/1620364649428-ad2.ts @@ -0,0 +1,14 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class ad21620364649428 implements MigrationInterface { + name = 'ad21620364649428' + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "ad" ADD "ratio" integer NOT NULL DEFAULT '1'`); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "ad" DROP COLUMN "ratio"`); + } + +} diff --git a/src/client/components/global/ad.vue b/src/client/components/global/ad.vue index f88a1d202..e340f846e 100644 --- a/src/client/components/global/ad.vue +++ b/src/client/components/global/ad.vue @@ -19,7 +19,7 @@