Save title emoji against document
This commit is contained in:
12
server/migrations/20170729215619-emoji.js
Normal file
12
server/migrations/20170729215619-emoji.js
Normal 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');
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user