mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 22:38:30 +09:00
12 lines
445 B
JavaScript
12 lines
445 B
JavaScript
export class AnnouncementNeedEnrollmentTutorialToRead1729270181417 {
|
|
name = 'AnnouncementNeedEnrollmentTutorialToRead1729270181417'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "announcement" ADD "needEnrollmentTutorialToRead" boolean NOT NULL DEFAULT false`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "announcement" DROP COLUMN "needEnrollmentTutorialToRead"`);
|
|
}
|
|
}
|