beast rev 2066
[beast-modified.git] / db / migrate / 004_rename_post_to_topic.rb
blobe381916ecbb16373130c01b3e1221144fff85b13
1 class RenamePostToTopic < ActiveRecord::Migration
2   def self.up
3     rename_column :posts, :post_id, :topic_id
4   end
6   def self.down
7     rename_column :posts, :topic_id, :post_id
8   end
9 end