UNPKG

@grouparoo/core

Version:
21 lines (20 loc) 636 B
"use strict"; 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"], }); }, };