Sha256: 5ebb87486a5e95e18e2601e4b36e49fae80dcdfa662adf6f8234ffe8e8549eb2

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

# This migration comes from spree (originally 20140205120320)
class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration
  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: true
    end

    add_index :spree_payment_capture_events, :payment_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103474_create_spree_payment_capture_events.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112426_create_spree_payment_capture_events.spree.rb