16 lines
488 B
JavaScript
16 lines
488 B
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project and yumechi
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export class IndexUserDeleted1732071810971 {
|
|
name = 'IndexUserDeleted1732071810971'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`CREATE INDEX IF NOT EXISTS "IDX_199b79e682bdc5ba946f491686" ON "user" ("isDeleted")`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`DROP INDEX IF EXISTS "IDX_199b79e682bdc5ba946f491686"`);
|
|
}
|
|
}
|