Sha256: 99fd2d805a7081f10a455ad49777668ec08a459d7181ea1429bdc3016ad23e59
Contents?: true
Size: 196 Bytes
Versions: 3
Compression:
Stored size: 196 Bytes
Contents
class AddUserReferenceToPost < ActiveRecord::Migration def self.up add_column :posts, :user_id, :integer, :default => nil end def self.down remove_column :posts, :user_id end end
Version data entries
3 entries across 3 versions & 1 rubygems