12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn('collections', 'color', {
|
|
type: Sequelize.TEXT,
|
|
});
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.removeColumn('collections', 'color');
|
|
},
|
|
};
|