Skip to content

Commit

Permalink
add an index to the external_id table
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Oct 26, 2015
1 parent 03b5e33 commit d94e1d5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions migrations/002_index_external_id.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require 'db/migrations/utils'

Sequel.migration do

up do
alter_table(:external_id) do
add_index([:external_id, :source])
end
end

down do
end

end

0 comments on commit d94e1d5

Please sign in to comment.