2014-05-23 22:37:16 +08:00
|
|
|
class RemoveAssignmentIntegrationIdIndex < ActiveRecord::Migration
|
|
|
|
tag :predeploy
|
|
|
|
|
|
|
|
def self.up
|
2016-01-21 03:40:18 +08:00
|
|
|
if index_exists? :assignments, :integration_id, :name => 'index_assignments_on_integration_id'
|
2014-05-23 22:37:16 +08:00
|
|
|
remove_index :assignments, :name => 'index_assignments_on_integration_id'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
end
|
|
|
|
end
|