DEV Community

Discussion on: How to add index to a large working app on Rails?

Collapse
 
codenote04 profile image
codenote04

== 20201019083817 AddIndexOnMyTransactions: migrating ======================
-- add_index(:my_transactions, :id, {:algorithm=>:concurrently})
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Algorithm must be one of the following: :default, :copy, :inplace

I get above error with mysql.