analytics/priv/repo/migrations/20190523171519_add_indices_to_referrers.exs
2019-09-02 12:29:19 +01:00

9 lines
196 B
Elixir

defmodule Plausible.Repo.Migrations.AddIndicesToReferrers do
use Ecto.Migration
def change do
create index(:pageviews, :referrer_source)
create index(:pageviews, :referrer)
end
end