1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-15 15:18:27 +09:00
misskey/packages/backend/migration/1695260774117-verified-links.js

12 lines
376 B
JavaScript
Raw Normal View History

export class VerifiedLinks1695260774117 {
name = 'VerifiedLinks1695260774117'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "verifiedLinks" character varying array NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "verifiedLinks"`);
}
}