We only look up status_pins by account_id, or account_id and status_id, never by status_id
		
			
				
	
	
		
			7 lines
		
	
	
		
			174 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			174 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class RemoveStatusPinsAccountIndex < ActiveRecord::Migration[5.1]
 | 
						|
  def change
 | 
						|
    remove_index :status_pins, :account_id
 | 
						|
    remove_index :status_pins, :status_id
 | 
						|
  end
 | 
						|
end
 |