@grouparoo/core
Version:
The Grouparoo Core
21 lines (20 loc) • 636 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
up: async (queryInterface) => {
await queryInterface.addIndex("profiles", ["state"], {
fields: ["state"],
});
await queryInterface.addIndex("profileProperties", ["state"], {
fields: ["state"],
});
},
down: async (queryInterface) => {
await queryInterface.removeIndex("profiles", ["state"], {
fields: ["state"],
});
await queryInterface.removeIndex("profileProperties", ["state"], {
fields: ["state"],
});
},
};