This commit is contained in:
albert
2013-03-17 20:33:25 -04:00
parent 9210a72c4c
commit 28a40aeee4
6 changed files with 38 additions and 3 deletions

6
script/fixes/007.rb Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env ruby
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'config', 'environment'))
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
ActiveRecord::Base.connection.execute("update comments set updater_id = creator_id")