foreman/db/migrate/20150428070436_add_index_to_logs_source_id.rb @ e54016da
class AddIndexToLogsSourceId < ActiveRecord::Migration
|
|
def up
|
|
add_index :logs, :source_id
|
|
end
|
|
|
|
def down
|
|
remove_index :logs, :source_id
|
|
end
|
|
end
|