UNPKG

@grouparoo/core

Version:
27 lines (26 loc) 893 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { up: async (queryInterface) => { await queryInterface.addIndex("imports", ["startedAt"], { fields: ["startedAt"], }); await queryInterface.addIndex("exports", ["startedAt"], { fields: ["startedAt"], }); await queryInterface.addIndex("exportProcessors", ["startedAt"], { fields: ["startedAt"], }); }, down: async (queryInterface) => { await queryInterface.removeIndex("imports", ["startedAt"], { fields: ["startedAt"], }); await queryInterface.removeIndex("exports", ["startedAt"], { fields: ["startedAt"], }); await queryInterface.removeIndex("exportProcessors", ["startedAt"], { fields: ["startedAt"], }); }, };