Files
outline/server/migrations/20171016012353-remove-collection-navigationtree.js
2017-11-19 16:49:51 -08:00

13 lines
327 B
JavaScript

module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.removeColumn('collections', 'navigationTree');
},
down: async (queryInterface, Sequelize) => {
await queryInterface.addColumn('collections', 'navigationTree', {
type: Sequelize.JSONB,
allowNull: true,
});
},
};