Sha256: 899f6ec43e2d98be3508fee92a7dc6c77561dea719d3eb33684498a7b44dcfaa

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

Stored size: 438 Bytes

Contents

class CreateTransactionableCreditCards < ActiveRecord::Migration
  def change
    create_table :transactionable_credit_cards do |t|
      t.integer :credit_cardable_id
      t.string :credit_cardable_type
      t.string :name
      t.string :description
      t.integer :last_four
      t.string :brand
      t.integer :expiration_month
      t.integer :expiration_year
      t.date :expiration_date

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
transactionable-0.3.1 db/migrate/20140108182203_create_transactionable_credit_cards.rb
transactionable-0.3.0 db/migrate/20140108182203_create_transactionable_credit_cards.rb
transactionable-0.2.0 db/migrate/20140108182203_create_transactionable_credit_cards.rb
transactionable-0.1.0 db/migrate/20140108182203_create_transactionable_credit_cards.rb