mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
15 lines
410 B
Ruby
15 lines
410 B
Ruby
class CreatePaymentOrders < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :payment_orders do |t|
|
|
t.string :type, null: false
|
|
t.string :status, default: 'issued', null: false
|
|
t.belongs_to :invoice, foreign_key: true
|
|
t.jsonb :response, null: true
|
|
t.string :notes, null: true
|
|
t.string :creator_str
|
|
t.string :updator_str
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|