Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- up: (queryInterface, Sequelize) => {
- queryInterface.addColumn(
- ['category', 'products', 'orders', 'purchases'],
- 'isDeleted',
- {
- type: Sequelize.BOOLEAN,
- },
- )
- },
- down: queryInterface =>
- queryInterface.removeColumn(
- ['category', 'products', 'orders', 'purchases'],
- 'isDeleted',
- ),
- }
- == 20181212035825-add-column-for-deleted-items: migrating =======
- ERROR: s.replace is not a function
Add Comment
Please, Sign In to add comment