Sha256: 03056f9f2a6ac45ba9b1f5909b12a23baad10a9d8fff4a2900d89dc026ab62e4

Contents?: true

Size: 762 Bytes

Versions: 8

Compression:

Stored size: 762 Bytes

Contents

class CreateStripePayouts < ActiveRecord::Migration[5.0]
  def change
    create_table :stripe_payouts do |t|
      t.string :stripe_id, index: true, null: false
      t.integer :amount_cents
      t.string :amount_currency
      t.datetime :arrival_date
      t.boolean :automatic
      t.string :balance_transaction
      t.datetime :created
      t.string :currency
      t.string :description
      t.string :destination
      t.string :failure_balance_transaction
      t.string :failure_code
      t.string :failure_message
      t.boolean :livemode
      t.text :metadata
      t.string :stripe_method
      t.string :source_type
      t.string :statement_descriptor
      t.string :status
      t.string :stripe_type
      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/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.6 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.5 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.4 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.3 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.2 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.1 db/migrate/20180206115809_create_stripe_payouts.rb
stripe_model_callbacks-0.1.0 db/migrate/20180206115809_create_stripe_payouts.rb