As far as I know, there is no way to do this using the addColumn function.
But you can do this with a raw SQL query:
ALTER TABLE UserDetails CHANGE COLUMN user_id user_id VARCHAR(50) AFTER some_column;
You can run your own SQL queries in migrations like this:
module.exports = { up: function(queryInterface, Sequelize) { return queryInterface.sequelize.query("ALTER TABLE UserDetails CHANGE COLUMN user_id user_id VARCHAR(50) AFTER some_column;") }, down: function(queryInterface, Sequelize) { return true; } };
Since you are already using native SQL, you can add a new column through raw SQL and place it after the column of your choice:
ALTER TABLE UserDetails ADD COLUMN user_id VARCHAR(50) AFTER some_column;
source share