This commit is contained in:
albert
2013-03-20 00:13:35 -07:00
parent 3a91636039
commit ed70b09e5e
5 changed files with 28 additions and 4 deletions

7
script/fixes/009.rb Normal file
View File

@@ -0,0 +1,7 @@
#!/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 wiki_pages set updater_id = creator_id")