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

8 lines
150 B
Elixir

defmodule Plausible.Repo.Migrations.AddIndexToPageviews do
use Ecto.Migration
def change do
create index("pageviews", [:hostname])
end
end