Francis Dinh
7b4ebd2715
Rooms were remove a while back in upstream Misskey. This removes the associated data left over in the database. Changelog: Removed
11 lines
309 B
JavaScript
11 lines
309 B
JavaScript
export class removeRooms1662489803045 {
|
|
name = 'removeRooms1662489803045'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "room"`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "room" jsonb NOT NULL DEFAULT '{}'`);
|
|
}
|
|
}
|