UNPKG

@grouparoo/core

Version:
20 lines (19 loc) 647 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { up: async (queryInterface, DataTypes) => { await queryInterface.addColumn("runs", "exportsCreated", { type: DataTypes.BIGINT, allowNull: false, defaultValue: 0, }); await queryInterface.addColumn("exports", "runGuids", { type: DataTypes.TEXT, allowNull: true, }); }, down: async (queryInterface) => { await queryInterface.removeColumn("runs", "exportsCreated"); await queryInterface.removeColumn("exports", "runGuids"); }, };