"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.down = exports.up = void 0;
const tslib_1 = require("tslib");
function up(utils) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
        try {
            yield utils.sequelize.query('drop type "enum_actorFollow_state"');
            yield utils.sequelize.query('alter type "enum_AccountFollows_state" rename to "enum_actorFollow_state";');
        }
        catch (_a) {
        }
        try {
            yield utils.sequelize.query('drop type "enum_accountVideoRate_type"');
            yield utils.sequelize.query('alter type "enum_AccountVideoRates_type" rename to "enum_accountVideoRate_type";');
        }
        catch (_b) {
        }
    });
}
exports.up = up;
function down(utils) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
    });
}
exports.down = down;
//# sourceMappingURL=0740-fix-old-enums.js.map