mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 19:47:26 +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
|