string for payment intent id

This commit is contained in:
Rimian Perkins 2019-09-13 22:20:29 +10:00
parent b34e7ade8c
commit 8f4cb95cb5
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
class CreatePaymentsTable < ActiveRecord::Migration[5.2] class CreatePaymentsTable < ActiveRecord::Migration[5.2]
def change def change
create_table :payments do |t| create_table :payments do |t|
t.integer :payment_intent_id, null: false t.string :payment_intent_id, null: false
t.string :receipt_email, null: false t.string :receipt_email, null: false
t.string :url, null: false t.string :url, null: false
t.integer :amount, null: false t.integer :amount, null: false