Gab-Social/db/migrate/20190512225945_create_btc_payments.rb

12 lines
319 B
Ruby
Raw Permalink Normal View History

2019-07-02 07:10:25 +00:00
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