1
1
mirror of https://github.com/plausible/analytics.git synced 2024-12-22 09:01:40 +03:00
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