Sha256: 1a3128cb252ce97398303b95ea43bdb30c9c6f198909b983c7544f0b68add662

Contents?: true

Size: 582 Bytes

Versions: 8

Compression:

Stored size: 582 Bytes

Contents

class CreateStripeBankAccounts < ActiveRecord::Migration[5.1]
  def change
    create_table :stripe_bank_accounts do |t|
      t.string :stripe_id, index: true, null: false
      t.string :stripe_account_id, index: true
      t.string :account_holder_name
      t.string :account_holder_type
      t.string :bank_name
      t.string :country
      t.string :currency
      t.boolean :default_for_currency
      t.string :fingerprint
      t.string :last4
      t.text :metadata
      t.string :routing_number
      t.string :status, index: true
      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/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.6 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.5 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.4 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.3 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.2 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.1 db/migrate/20180208122654_create_stripe_bank_accounts.rb
stripe_model_callbacks-0.1.0 db/migrate/20180208122654_create_stripe_bank_accounts.rb