How to change values in columns using only sequelize migration without clean requests? upsert or other?
Sequelize CLI [Node: 8.11.3, CLI: 4.0.0, ORM: 5.0.0-beta.5]
Loaded configuration file "config/database.json". Using environment "development". == 2018061713010-changeColumn: migrating =======
ERROR: Cannot read property 'uniqueKeys' of undefined
what it is error?
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
queryInterface.upsert(
'table',
{
style: 2,
},
{
style: 2,
},
{}, //model
{} // options
);
},
down: (queryInterface, Sequelize) => {
},
};
database image