summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1562422242907-PasswordLessLogin.js
blob: b73c7db4d35f3d2bbb37b5b049d79ec4efc44c2f (plain)
1
2
3
4
5
6
7
8
9
10
export class PasswordLessLogin1562422242907 {
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "usePasswordLessLogin" boolean DEFAULT false NOT NULL`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "usePasswordLessLogin"`);
    }
}