mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-15 15:42:39 +00:00
12 lines
307 B
Elixir
12 lines
307 B
Elixir
|
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
|