Gab Social. All are welcome.
This commit is contained in:
11
db/migrate/20190512225945_create_btc_payments.rb
Normal file
11
db/migrate/20190512225945_create_btc_payments.rb
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user