1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00
MisskeyIO/packages/backend/migration/1723311628855-mutuallinks.js
2024-08-11 08:32:14 +09:00

12 lines
364 B
JavaScript

export class Mutuallinks1723311628855 {
name = 'Mutuallinks1723311628855'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "mutualLinkSections" jsonb NOT NULL DEFAULT '[]'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "mutualLinkSections"`);
}
}