Sha256: 946b04d33fd13cbd9e246b2316812257dfb08bed227f43f752fcc485905aea31

Contents?: true

Size: 636 Bytes

Versions: 8

Compression:

Stored size: 636 Bytes

Contents

class CreateStripeRefunds < ActiveRecord::Migration[5.0]
  def change
    create_table :stripe_refunds do |t|
      t.string :stripe_id, index: true, null: false
      t.integer :amount_cents
      t.string :amount_currency
      t.string :balance_transaction
      t.string :stripe_charge_id, null: false
      t.string :currency, null: false
      t.string :failure_balance_transaction
      t.string :failure_reason
      t.boolean :livemode, default: true, null: false
      t.text :metadata
      t.string :reason
      t.string :receipt_number
      t.string :status
      t.datetime :created
      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.6 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.5 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.4 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.3 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.2 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.1 db/migrate/20180206115813_create_stripe_refunds.rb
stripe_model_callbacks-0.1.0 db/migrate/20180206115813_create_stripe_refunds.rb