mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-04 22:06:43 -06:00
29f6ba6310
* chore: add workflow which checks if SPDX ID exists * chore: add missing SPDX ID in some files * chore: change trigger condition * chore: trigger on push * lint
18 lines
638 B
JavaScript
18 lines
638 B
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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"`);
|
|
}
|
|
}
|