Save title emoji against document

This commit is contained in:
Tom Moor
2017-07-29 15:06:17 -07:00
parent 4311810aa8
commit cfcdae8aa0
4 changed files with 46 additions and 6 deletions

View File

@ -0,0 +1,12 @@
module.exports = {
up: (queryInterface, Sequelize) => {
queryInterface.addColumn('documents', 'emoji', {
type: Sequelize.STRING,
allowNull: true,
});
},
down: (queryInterface, _Sequelize) => {
queryInterface.removeColumn('documents', 'emoji');
},
};