diaspora/db/migrate/20110525213325_add_root_id_to_posts.rb
2011-07-22 16:00:19 -07:00

9 lines
190 B
Ruby

class AddRootIdToPosts < ActiveRecord::Migration
def self.up
add_column :posts, :root_guid, :string, :limit => 30
end
def self.down
remove_column :posts, :root_guid
end
end