# This migration comes from spree (originally 20140205120320) class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration[4.2] def change create_table :spree_payment_capture_events do |t| t.decimal :amount, precision: 10, scale: 2, default: 0.0 t.integer :payment_id t.timestamps null: false, precision: 6 end add_index :spree_payment_capture_events, :payment_id end end