fix tests and typo bugs
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user