From 0400bf8fda807f85f3c7c83bd565216d6827d27c Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Thu, 14 Jun 2018 14:19:19 -0300 Subject: [PATCH] rm: removes remove index command keeps all scopes together --- .../db/migrate/add_extra_fields_on_rating_rates_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb b/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb index 0be328d..1b9d2e0 100644 --- a/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb +++ b/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb @@ -5,6 +5,6 @@ class AddExtraScopesOnRatingRatesTable < ActiveRecord::Migration[5.0] add_column :rating_rates, :scope_1, :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