fix tests and typo bugs

This commit is contained in:
albert
2013-03-22 18:54:37 -04:00
parent ec50911a52
commit a4b67fa072
9 changed files with 53 additions and 68 deletions

View File

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