"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Category1703203564834 = void 0;
class Category1703203564834 {
    constructor() {
        this.name = 'Category1703203564834';
    }
    async up(queryRunner) {
        await queryRunner.query(`DROP INDEX \`IDX_1eff0de0a3d9e41ef91f9051cc\` ON \`categories\``);
        await queryRunner.query(`ALTER TABLE \`file\` DROP COLUMN \`relationType\``);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE \`file\` ADD \`relationType\` varchar(255) NOT NULL`);
        await queryRunner.query(`CREATE UNIQUE INDEX \`IDX_1eff0de0a3d9e41ef91f9051cc\` ON \`categories\` (\`icon_id\`)`);
    }
}
exports.Category1703203564834 = Category1703203564834;
//# sourceMappingURL=1703203564834-category.js.map