sharkey/packages/backend/migration/1697683129062-feat-auto-reject-follow-request.js
ひたりん 455cce801d Merge pull request #25 from lvpq/yami
issueのあれをやった
2024-10-20 22:49:28 +09:00

12 lines
409 B
JavaScript

export class FeatAutoRejectFollowRequest1697683129062 {
name = 'FeatAutoRejectFollowRequest1697683129062'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "autoRejectFollowRequest" boolean NOT NULL DEFAULT false`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "autoRejectFollowRequest"`);
}
}