Sha256: a87b63c889d9c0c43d6a1a4f0ffc8ca4e541bfde733cce0d93c9f1ddc90e8c8b
Contents?: true
Size: 369 Bytes
Versions: 4
Compression:
Stored size: 369 Bytes
Contents
class CreateReviews < ActiveRecord::Migration def self.up create_table :reviews do |t| t.integer :product_id t.string :name t.string :location t.integer :rating t.text :title t.text :review t.boolean :approved, :default => false t.timestamps end end def self.down drop_table :reviews end end
Version data entries
4 entries across 4 versions & 2 rubygems