Sha256: 1f999ef2bbbed0a11ebddf9c0ab781ffc68077e872c7a952d9788898a8efb44f

Contents?: true

Size: 801 Bytes

Versions: 8

Compression:

Stored size: 801 Bytes

Contents

class CreateStripeCards < ActiveRecord::Migration[5.1]
  def change
    create_table :stripe_cards do |t|
      t.string :stripe_id, index: true, null: false
      t.string :address_city
      t.string :address_country
      t.string :address_line1
      t.string :address_line1_check
      t.string :address_line2
      t.string :address_state
      t.string :address_zip
      t.string :address_zip_check
      t.string :brand
      t.string :country
      t.string :stripe_customer_id, index: true
      t.string :cvc_check
      t.string :dynamic_last4
      t.integer :exp_month
      t.integer :exp_year
      t.string :fingerprint
      t.string :funding
      t.string :last4
      t.text :metadata
      t.string :name
      t.string :tokenization_method
      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/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.6 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.5 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.4 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.3 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.2 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.1 db/migrate/20180217204628_create_stripe_cards.rb
stripe_model_callbacks-0.1.0 db/migrate/20180217204628_create_stripe_cards.rb