mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
14 lines
386 B
Elixir
14 lines
386 B
Elixir
defmodule Plausible.IngestRepo.Migrations.AddRevenueToEvents do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:events_v2) do
|
|
add :revenue_reporting_amount, :"Nullable(Decimal64(3))"
|
|
add :revenue_reporting_currency, :"FixedString(3)"
|
|
|
|
add :revenue_source_amount, :"Nullable(Decimal64(3))"
|
|
add :revenue_source_currency, :"FixedString(3)"
|
|
end
|
|
end
|
|
end
|