mirror of
https://github.com/kokonect-link/cherrypick
synced 2025-01-24 10:43:58 +09:00
3241db64ab
* Fix: Frontend * Fix: SPDX P1 * Fix: TypeCheck * Fix: aws-sdk/client-s3 * Fix: test死んでいるので。 * Fix: SPDX
18 lines
536 B
JavaScript
18 lines
536 B
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project and cherrypick-contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export class PollVotePoll1696604572677 {
|
|
name = 'PollVotePoll1696604572677';
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "poll_vote" ADD CONSTRAINT "FK_poll_vote_poll" FOREIGN KEY ("noteId") REFERENCES "poll"("noteId") ON DELETE CASCADE`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "poll_vote" DROP CONSTRAINT "FK_poll_vote_poll"`);
|
|
}
|
|
|
|
}
|