canvas-lms/db/migrate/20140523142858_remove_assig...

13 lines
319 B
Ruby

class RemoveAssignmentIntegrationIdIndex < ActiveRecord::Migration
tag :predeploy
def self.up
if index_exists? :assignments, :integration_id, :name => 'index_assignments_on_integration_id'
remove_index :assignments, :name => 'index_assignments_on_integration_id'
end
end
def self.down
end
end