Removed legacy navigationtree

This commit is contained in:
Jori Lallo
2017-10-15 18:35:28 -07:00
parent 53d9e221a5
commit 75bf265bd5
4 changed files with 17 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
module.exports = {
up: function(queryInterface, Sequelize) {
queryInterface.removeColumn('collections', 'navigationTree');
},
down: function(queryInterface, Sequelize) {
queryInterface.addColumn('collections', 'navigationTree', {
type: Sequelize.JSONB,
allowNull: true,
});
},
};