Sha256: 334262fdd2a299d65d060ac37bccdad5400142fc194c432bd35f946fe83ee622
Contents?: true
Size: 254 Bytes
Versions: 3
Compression:
Stored size: 254 Bytes
Contents
class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.integer :post_id t.text :content t.string :user_name t.timestamps end end def self.down drop_table :comments end end
Version data entries
3 entries across 3 versions & 1 rubygems