14 lines
326 B
JavaScript
14 lines
326 B
JavaScript
|
'use strict';
|
||
|
|
||
|
module.exports = {
|
||
|
up: async (queryInterface, Sequelize) => {
|
||
|
await queryInterface.removeColumn('collections', 'type');
|
||
|
},
|
||
|
|
||
|
down: async (queryInterface, Sequelize) => {
|
||
|
await queryInterface.addColumn('collections', 'type', {
|
||
|
type: Sequelize.STRING,
|
||
|
defaultValue: "atlas"
|
||
|
});
|
||
|
}
|
||
|
};
|