update fix

This commit is contained in:
albert
2013-03-17 21:28:24 -04:00
parent 34d7e337ac
commit 51d1f54102

View File

@@ -4,3 +4,4 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'config',
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
ActiveRecord::Base.connection.execute("update comments set updater_id = creator_id")
ActiveRecord::Base.connection.execute("update tags set post_count = 0 where post_count < 0")