rm: removes remove index command

keeps all scopes together
main
Washington Botelho 2018-06-14 14:19:19 -03:00
parent bbf9d2a217
commit 0400bf8fda
No known key found for this signature in database
GPG Key ID: 5DE4F42A8F073617
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ class AddExtraScopesOnRatingRatesTable < ActiveRecord::Migration[5.0]
add_column :rating_rates, :scope_1, :string add_column :rating_rates, :scope_1, :string
add_column :rating_rates, :scope_2, :string add_column :rating_rates, :scope_2, :string
remove_index :rating_rates, %i[author_id author_type resource_id resource_type scopeable_id scopeable_type] # remove_index :rating_rates, %i[author_id author_type resource_id resource_type scopeable_id scopeable_type]
end end
end end