#9895·sequelize

queryInterface.removeIndex with a wrong name

Author: shepelevstasCreated Sep 8, 2018Updated Sep 23, 2026
Labelsbreaking changestatus: understood

What are you doing?

Creating migrations and testing them: db:migrate then db:migrate:undo

What do you expect to happen?

Doing it with addIndex and removeIndex with a wrong name I'd expect it to fail and complain.

What is actually happening?

But it just removed the migration from SequelizeMeta and said all is OK. However the index was not removed! And the next db:migrate failed!

Dialect: sqlite Dialect version: 3 Sequelize version: 4.38.0 Sequelize cli version: 4.1.0 Tested with latest release: Yes