"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddEmailVerificationFields1755706019351 = void 0;
class AddEmailVerificationFields1755706019351 {
    constructor() {
        this.name = 'AddEmailVerificationFields1755706019351';
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "code"`);
        await queryRunner.query(`ALTER TABLE "Users" ADD "token" character varying(255)`);
        await queryRunner.query(`ALTER TABLE "Users" ADD "TokenExpires" TIMESTAMP`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "TokenExpires"`);
        await queryRunner.query(`ALTER TABLE "Users" DROP COLUMN "token"`);
        await queryRunner.query(`ALTER TABLE "Users" ADD "code" character varying(50)`);
    }
}
exports.AddEmailVerificationFields1755706019351 = AddEmailVerificationFields1755706019351;
//# sourceMappingURL=1755706019351-AddEmailVerificationFields.js.map