20190512225945_create_btc_payments.rb 319 Bytes
Newer Older
Rob Colbert's avatar
Rob Colbert committed
1 2 3 4 5 6 7 8 9 10 11
class CreateBtcPayments < ActiveRecord::Migration[5.2]
  def change
    create_table :btc_payments do |t|
      t.timestamps
      t.integer :account_id, null: false
      t.string :btcpay_invoice_id, null: false
      t.string :plan, null: false
      t.boolean :success, null: false, default: false
    end
  end
end