mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 02:55:02 +03:00
7dbbc8ba22
* 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
9 lines
208 B
Elixir
9 lines
208 B
Elixir
defmodule Plausible.Repo.Migrations.RenameSiteIdToDomain do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
rename table(:events), :site_id, to: :domain
|
|
rename table(:sessions), :site_id, to: :domain
|
|
end
|
|
end
|