Files
FrozenFriendsYume/packages/backend/built/migration/1783309000000-allow-calls-default-off.js
2026-07-26 18:25:37 +09:00

10 lines
382 B
JavaScript

export class AllowCallsDefaultOff1783309000000 {
name = "AllowCallsDefaultOff1783309000000";
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "allowCalls" SET DEFAULT false`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "allowCalls" SET DEFAULT true`);
}
}