bonfire-app/flavours/cooperation/repo/migrations/20220903031117_add_payment_id_and_payment_provider.exs

12 lines
307 B
Elixir
Raw Normal View History

2022-09-26 22:49:20 +00:00
defmodule Rauversion.Repo.Migrations.AddPaymentIdAndPaymentProvider do
use Ecto.Migration
def change do
alter table(:purchase_orders) do
add(:payment_id, :string)
add(:payment_provider, :string)
# add :payment_, references(:purchase_orders, on_delete: :nothing)
end
end
end