Files
outline/server/migrations/20170729215619-emoji.js
2017-07-29 15:06:17 -07:00

13 lines
283 B
JavaScript

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