mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Implement partial payment logging for EveryPay / Bank links
This commit is contained in:
parent
feb3a5d9da
commit
53fbd2f50c
14 changed files with 470 additions and 345 deletions
13
db/migrate/20200130092113_create_payment_orders.rb
Normal file
13
db/migrate/20200130092113_create_payment_orders.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
class CreatePaymentOrders < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :payment_orders do |t|
|
||||
t.string :type, null: false
|
||||
t.string :status, default: 0, null: false
|
||||
t.belongs_to :invoice, foreign_key: true
|
||||
t.jsonb :response, null: true
|
||||
t.string :notes, null: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
471
db/structure.sql
471
db/structure.sql
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue