gab-social/db/migrate/20190512225945_create_btc_p...

12 lines
319 B
Ruby
Raw Normal View History

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