mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
8 lines
150 B
Elixir
8 lines
150 B
Elixir
defmodule Plausible.Repo.Migrations.AddIndexToPageviews do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create index("pageviews", [:hostname])
|
|
end
|
|
end
|