Update locales
Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
parent
a4fef11e3c
commit
97590f2567
|
@ -258,6 +258,7 @@ announcements: "お知らせ"
|
|||
imageUrl: "画像URL"
|
||||
remove: "削除"
|
||||
removed: "削除しました"
|
||||
undraftAreYouSure: "「{x}」をドラフト解除しますか?"
|
||||
removeAreYouSure: "「{x}」を削除しますか?"
|
||||
deleteAreYouSure: "「{x}」を削除しますか?"
|
||||
resetAreYouSure: "リセットしますか?"
|
||||
|
|
15
packages/backend/migration/1697813507149-EmojiDraft.js
Normal file
15
packages/backend/migration/1697813507149-EmojiDraft.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
export class EmojiDraft1697813507149 {
|
||||
name = 'EmojiDraft1697813507149'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`CREATE TABLE "emoji_draft" ("id" character varying(32) NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE, "name" character varying(128) NOT NULL, "category" character varying(128), "originalUrl" character varying(512) NOT NULL, "publicUrl" character varying(512) NOT NULL DEFAULT '', "type" character varying(64), "aliases" character varying(128) array NOT NULL DEFAULT '{}', "license" character varying(1024), "fileId" character varying(1024) NOT NULL, "localOnly" boolean NOT NULL DEFAULT false, "isSensitive" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_6c7c36f693e1cb8ba1343e3336f" PRIMARY KEY ("id"))`);
|
||||
await queryRunner.query(`CREATE INDEX "IDX_j7skve3cwn4pfb2qg9mx1la8iy" ON "emoji_draft" ("name") `);
|
||||
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_e99cd746a9632624dae39cfb35" ON "emoji_draft" ("name") `);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`DROP INDEX "public"."IDX_e99cd746a9632624dae39cfb35"`);
|
||||
await queryRunner.query(`DROP INDEX "public"."IDX_j7skve3cwn4pfb2qg9mx1la8iy"`);
|
||||
await queryRunner.query(`DROP TABLE "emoji_draft"`);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue