tm-apps-db
Advanced tools
Comparing version
module.exports = { | ||
up: (queryInterface, sequelize) => { | ||
return queryInterface.addColumn('articles', 'exclude_mobile', sequelize.STRING) | ||
return queryInterface.addColumn('articles', 'exclude_mobile', sequelize.BOOLEAN) | ||
.catch((e) => { | ||
@@ -13,4 +13,4 @@ if (e.parent.code === "42701") { | ||
down: (queryInterface, sequelize) => { | ||
return queryInterface.removeColumn('articles', 'exclude_mobile', sequelize.STRING); | ||
return queryInterface.removeColumn('articles', 'exclude_mobile', sequelize.BOOLEAN); | ||
} | ||
}; |
{ | ||
"name": "tm-apps-db", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Apps consumer database initialiser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
88317
0