analytics/priv/repo/migrations/20200204133522_drop_events_hostname_index.exs
Uku Taht 7dbbc8ba22
Configurable site id (#30)
* Use site id instead of hostname for events

* Use site id in domain status check

* Revert change to tracking module

* Catch more places where link generation needed updating

* Rename site_id to domain

* Drop hostname index from events
2020-02-04 15:44:13 +02:00

8 lines
150 B
Elixir

defmodule Plausible.Repo.Migrations.DropEventsHostnameIndex do
use Ecto.Migration
def change do
drop index("pageviews", :hostname)
end
end