analytics/priv/clickhouse_repo/migrations/20220310104931_add_transferred_from.exs
RobertJoonas 492f47ba1e
Crm transfer data (#1749)
* pull from master

* added query generation by struct fields

* ready, improved tests

* fixed a naming mistake
2022-03-24 16:11:04 +02:00

14 lines
267 B
Elixir

defmodule Plausible.ClickhouseRepo.Migrations.AddTransferredFrom do
use Ecto.Migration
def change do
alter table(:events) do
add(:transferred_from, :string)
end
alter table(:sessions) do
add(:transferred_from, :string)
end
end
end