UNPKG

@grouparoo/core

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