Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

208 B
Raw Blame
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