remove stripe#customer creation.
remove amount validation.
This commit is contained in:
parent
112d2c6fff
commit
72ef33cbe6
5 changed files with 5 additions and 26 deletions
|
|
@ -2,7 +2,7 @@ class CreatePayments < ActiveRecord::Migration
|
|||
def change
|
||||
create_table :payments do |t|
|
||||
t.string :last4
|
||||
t.integer :amount, null: false
|
||||
t.integer :amount
|
||||
t.string :authorization_code
|
||||
t.integer :status, default: 0, null: false
|
||||
t.integer :user_id, null: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue