"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.down = exports.up = void 0;
const tslib_1 = require("tslib");
const Sequelize = tslib_1.__importStar(require("sequelize"));
function up(utils) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
        const { transaction } = utils;
        const data = {
            type: Sequelize.STRING,
            defaultValue: null,
            allowNull: true
        };
        yield utils.queryInterface.addColumn('user', 'otpSecret', data, { transaction });
    });
}
exports.up = up;
function down(utils) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
    });
}
exports.down = down;
//# sourceMappingURL=0745-user-otp.js.map