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