20 lines
432 B
JavaScript
20 lines
432 B
JavaScript
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
// logic for transforming into the new state
|
|
return queryInterface.addColumn(
|
|
'Claim',
|
|
'FileId',
|
|
{
|
|
type : Sequelize.STRING,
|
|
allowNull: true,
|
|
}
|
|
);
|
|
},
|
|
down: (queryInterface, Sequelize) => {
|
|
// logic for reverting the changes
|
|
return queryInterface.removeColumn(
|
|
'Claim',
|
|
'FileId'
|
|
);
|
|
},
|
|
};
|