mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-14 06:38:13 +09:00
12 lines
364 B
JavaScript
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"`);
|
||
|
}
|
||
|
}
|