analytics/priv/repo/migrations/20190402172423_add_index_to_pageviews.exs

8 lines
150 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
defmodule Plausible.Repo.Migrations.AddIndexToPageviews do
use Ecto.Migration
def change do
create index("pageviews", [:hostname])
end
end