Add revenue fields to events_v2 (#3018)

pull/3022/head r2023.06.12-122
Vini Brasil 3 years ago committed by GitHub
parent 5162da473c
commit d98242895b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,13 @@
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
Loading…
Cancel
Save