mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-21 11:05:08 +01:00
e3f151e230
Resolve #11499
13 lines
534 B
JavaScript
13 lines
534 B
JavaScript
export class FollowingNotify1695288787870 {
|
|
name = 'FollowingNotify1695288787870'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "following" ADD "notify" character varying(32)`);
|
|
await queryRunner.query(`CREATE INDEX "IDX_5108098457488634a4768e1d12" ON "following" ("notify") `);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`DROP INDEX "public"."IDX_5108098457488634a4768e1d12"`);
|
|
await queryRunner.query(`ALTER TABLE "following" DROP COLUMN "notify"`);
|
|
}
|
|
}
|