Sha256: 337bb14516af63d6be0eeed69c480245a391d6291b2edcff8429a197592430f3
Contents?: true
Size: 178 Bytes
Versions: 6
Compression:
Stored size: 178 Bytes
Contents
class AddAuthorIdToPost < ActiveRecord::Migration def self.up add_column :posts, :author_id, :integer end def self.down remove_column :posts, :author_id end end
Version data entries
6 entries across 6 versions & 1 rubygems