Sha256: e881e8a793b5f42f74089e398822c2d5785998f2effa0cbe5934e30abf3b433a
Contents?: true
Size: 374 Bytes
Versions: 23
Compression:
Stored size: 374 Bytes
Contents
class CreateLineItems < ActiveRecord::Migration def self.up create_table "line_items", :force => true do |t| t.integer :order_id t.integer :variant_id t.integer :quantity, :null => false t.decimal :price, :precision => 8, :scale => 2, :null => false t.timestamps end end def self.down drop_table "line_items" end end
Version data entries
23 entries across 23 versions & 3 rubygems