1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-12 21:58:12 +09:00
hotomoe/packages/backend/migration/1706011243939-UserProfileBirthdayIndex.js
2024-02-13 02:27:48 +09:00

17 lines
485 B
JavaScript

/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class UserProfileBirthdayIndex1706011243939 {
name = 'UserProfileBirthdayIndex1706011243939'
async up(queryRunner) {
await queryRunner.query(`CREATE INDEX "IDX_58699f75b9cf904f5f007909cb" ON "user_profile" ("birthday") `);
}
async down(queryRunner) {
await queryRunner.query(`DROP INDEX "public"."IDX_58699f75b9cf904f5f007909cb"`);
}
}