This commit is contained in:
albert
2013-03-18 17:12:44 -07:00
parent bd6c8a5e90
commit f5240d06fe
3 changed files with 6 additions and 2 deletions

View File

@@ -6,3 +6,5 @@ ActiveRecord::Base.connection.execute("set statement_timeout = 0")
Tag.find_each do |tag|
tag.fix_post_count
end
ActiveRecord::Base.connection.execute("update comments set updater_id = creator_id where updater_id <> creator_id")