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
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
All schema_plus column options are ignored inside a change_table if the :bulk option is set to true; at least with the MySQL connector which supports the bulk option. Consider the following migration statement:
…esses #127.
To do this, added some new features:
- remove_foreign_key takes table & column args (addresses #129), also :if_exists option
- remove_index takes :if_exists option
(still need to document these, and flesh out specs code coverage)
@dmeranda I've pushed a fix for this to master. (And fixes to other related problems with change_table as well.) If you could try it out from master and confirm that it works for you that'd be great.
All schema_plus column options are ignored inside a change_table if the :bulk option is set to true; at least with the MySQL connector which supports the bulk option. Consider the following migration statement:
which will add the index and the foreign key (and its auto-generated index) as expected. However if you use the :bulk option,
then it operates as if the :index or :foreign_key options were not present.
The text was updated successfully, but these errors were encountered: