mirror of
https://github.com/plausible/analytics.git
synced 2024-12-22 17:11:36 +03:00
9 lines
196 B
Elixir
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
|