Sha256: f3b002475aa40239adc58185c202148f4a0201ed90e5d659e6a3e8a30bd34861
Contents?: true
Size: 319 Bytes
Versions: 6
Compression:
Stored size: 319 Bytes
Contents
class CreateProducts < ActiveRecord::Migration def up Cms::ContentType.create!(:name => "Product", :group_name => "Product") create_content_table :products, :prefix=>false do |t| t.string :name t.integer :price t.integer :category_id t.timestamps end end def down end end
Version data entries
6 entries across 6 versions & 1 rubygems