Sha256: c30d98169b3b03d18df24e8e78a2cf30e99a4082ae8c5f6455aef7cab72791db

Contents?: true

Size: 752 Bytes

Versions: 7

Compression:

Stored size: 752 Bytes

Contents

class CreateTangCards < ActiveRecord::Migration
  def change
    create_table :tang_cards do |t|
      t.integer :customer_id, index: true

      t.string :stripe_id
      t.string :address_line1
      t.string :address_line1_check
      t.string :address_line2
      t.string :address_city
      t.string :address_country
      t.string :address_state
      t.string :address_zip
      t.string :address_zip_check

      t.string :name
      t.string :brand
      t.string :last4
      t.string :dynamic_last4
      t.integer :exp_month
      t.integer :exp_year
      t.string :cvc_check
      t.string :country
      t.string :tokenization_method
      t.string :funding
      t.string :fingerprint

      t.timestamps null: false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tang-0.2.2 db/migrate/20160929174251_create_tang_cards.rb
tang-0.2.1 db/migrate/20160929174251_create_tang_cards.rb
tang-0.2.0 db/migrate/20160929174251_create_tang_cards.rb
tang-0.1.0 db/migrate/20160929174251_create_tang_cards.rb
tang-0.0.9 db/migrate/20160929174251_create_tang_cards.rb
tang-0.0.8 db/migrate/20160929174251_create_tang_cards.rb
tang-0.0.1 db/migrate/20160929174251_create_tang_cards.rb