mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
improve Stripe error rescue. modify tests.
This commit is contained in:
parent
52c30af642
commit
1f9338735c
6 changed files with 43 additions and 36 deletions
|
|
@ -2,7 +2,7 @@ class CreatePayments < ActiveRecord::Migration
|
|||
def change
|
||||
create_table :payments do |t|
|
||||
t.string :last4
|
||||
t.integer :amount
|
||||
t.integer :amount, null: false
|
||||
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