Skip to content

Commit

Permalink
Adding index
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniy authored Jan 6, 2017
1 parent f4be348 commit 5bfa12c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mix/tasks/papertrail/install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ defmodule Mix.Tasks.Papertrail.Install do
add :inserted_at, :datetime, null: false
end
create index(:versions, [:event, :item_id, :item_type])
end
end
"""
Expand Down

0 comments on commit 5bfa12c

Please sign in to comment.