UNPKG

@grouparoo/core

Version:
18 lines (15 loc) 428 B
import Sequelize from "sequelize"; export default { up: async ( queryInterface: Sequelize.QueryInterface, DataTypes: typeof Sequelize ) => { await queryInterface.addColumn("destinations", "syncMode", { type: DataTypes.STRING(191), allowNull: true, }); }, down: async (queryInterface: Sequelize.QueryInterface) => { await queryInterface.removeColumn("destinations", "syncMode"); }, };