analytics/priv/ingest_repo/migrations/20230417104025_add_revenue_to_events.exs
2023-06-12 18:12:41 +01:00

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