merit-gem/merit

Error on create merit_actions migration file

SchaferF opened this issue · 2 comments

I have encountered an issue when I'm trying to perform the rails db:migrate command.
It seem's that there is the following mistake into the CreateMeritActions migration file.
The add index instruction must be contained in the def Change right after the end of the create_table instruction, and not after the end of the def Change instruction.
See the following captures.

Generated_Migration_File

Migration_File_Modified

tute commented

Right, that's fixed on main (see bd48a4d) but I didn't yet release a new version. Thanks for pointing it out, will mark as fixed when we release a new version!

tute commented

https://github.com/merit-gem/merit/releases/tag/v4.0.3 released with this fix! Thanks for reporting.