Sha256: 7483a06d1525c8398b7ad98beb8b1f8b7033d6123f41e4742f59193d3979566f
Contents?: true
Size: 381 Bytes
Versions: 32
Compression:
Stored size: 381 Bytes
Contents
module Blog::Models class CreateComment < V 1.0 def self.up create_table :blog_comments do |t| t.column :id , :integer , :null => false t.column :post_id , :integer , :null => false t.column :username , :string t.column :body , :text end end def self.down drop_table :blog_comments end end end
Version data entries
32 entries across 21 versions & 1 rubygems