Sha256: 9bb3f550691ed781510df6e4bd59690bc00bed38ca0d36e683e1f4e42b660f53
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
class CreateShoppingCartCreditCards < ActiveRecord::Migration[5.0] def change create_table :shopping_cart_credit_cards do |t| t.string :number t.integer :cvv t.integer :expiration_month t.integer :expiration_year t.string :first_name t.string :last_name t.belongs_to :order, index: true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shopping_cart-0.1.0 | db/migrate/20160817082741_create_shopping_cart_credit_cards.rb |