mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 04:22:34 +03:00
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
|