remove up/down score from posts

This commit is contained in:
albert
2013-03-21 07:57:32 -07:00
parent 4606ec4763
commit 8d02918618
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
class RemoveUpScoreFromPosts < ActiveRecord::Migration
def up
execute "set statement_timeout = 0"
remove_column :posts, :up_score
remove_column :posts, :down_score
end
def down
end
end