You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems when using a 'changeColumn' query with SQLite in a migration causes any indices on that table to be lost. That's caused by the fact that the affected table will be dropped and re-created. When recreating the table, the associated indices are 'forgotten'.
Activity
jamiemccrindle commentedon Jul 22, 2014
This is also true of the primary key of the table
idINTEGER PRIMARY KEYbecomes
idINTEGER DEFAULT NULLThe code the resulted in this change on our side doesn't touch the id
output from the sequelize migration:
sushantdhiman commentedon Jan 10, 2017
Move to #7078