Skip to content

Commit

Permalink
Merge pull request #2 from asiniy/patch-1
Browse files Browse the repository at this point in the history
Adding index
  • Loading branch information
izelnakri authored Jan 7, 2017
2 parents f4be348 + 6650a33 commit ba3ad71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mix/tasks/papertrail/install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ defmodule Mix.Tasks.Papertrail.Install do
add :inserted_at, :datetime, null: false
end
# Uncomment if you want to add the following indexes to speed up special queries:
# create index(:versions, [:event, :item_id, :item_type])
end
end
"""
Expand Down

0 comments on commit ba3ad71

Please sign in to comment.