rm: removes remove index command
keeps all scopes together
This commit is contained in:
		
							parent
							
								
									bbf9d2a217
								
							
						
					
					
						commit
						0400bf8fda
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user