Permalink
Browse files

Merge branch 'hotfix/update_sql'

  • Loading branch information...
2 parents d136520 + ceab665 commit 1e9110b19ef7a50347b056608b3b6827eadfdace @tokumine tokumine committed May 7, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/tasks/db_maintenance.rake
@@ -256,7 +256,11 @@ namespace :cartodb do
next if !user.respond_to?('database_name') || user.database_name.blank?
user.in_database do |user_database|
user.tables.all.each do |table|
- table.set_trigger_cache_timestamp
+ begin
+ table.set_trigger_cache_timestamp
+ rescue => e
+ puts "error updating #{table.name}: #{e.inspect}"
+ end
end
end
end

0 comments on commit 1e9110b

Please sign in to comment.