move stripe API call to model, schema changes
This commit is contained in:
parent
47e16e5653
commit
be6d046154
4 changed files with 46 additions and 35 deletions
|
|
@ -264,9 +264,9 @@ ActiveRecord::Schema.define(version: 20160704092023) do
|
|||
end
|
||||
|
||||
create_table "payments", force: :cascade do |t|
|
||||
t.string "last4", null: false
|
||||
t.integer "amount", null: false
|
||||
t.string "authorization_code", null: false
|
||||
t.string "last4"
|
||||
t.integer "amount"
|
||||
t.string "authorization_code"
|
||||
t.integer "status", default: 0, null: false
|
||||
t.integer "user_id", null: false
|
||||
t.integer "conference_id", null: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue