Sha256: 74cee72fe0a19dc1bfef057251014cec66e0372a5b90f9e71f77bad9d654e068

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

class CreateShoppingCartCreditCards < ActiveRecord::Migration[5.1]
  def change
    create_table :shopping_cart_credit_cards do |t|
      t.string :name
      t.string :number
      t.string :expiration_date
      t.integer :order_id, index: true

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loker-shopping-cart-0.1.3 db/migrate/20180924111321_create_shopping_cart_credit_cards.rb
loker-shopping-cart-0.1.2 db/migrate/20180924111321_create_shopping_cart_credit_cards.rb
loker-shopping-cart-0.1.1 db/migrate/20180924111321_create_shopping_cart_credit_cards.rb