remove stripe#customer creation.

remove amount validation.
This commit is contained in:
Rishabh Saxena 2016-08-04 13:44:09 +05:30
parent 112d2c6fff
commit 72ef33cbe6
5 changed files with 5 additions and 26 deletions

View file

@ -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