Skip to content

Commit

Permalink
Merge branch 'hotfix/update_sql'
Browse files Browse the repository at this point in the history
  • Loading branch information
tokumine committed May 7, 2012
2 parents d136520 + ceab665 commit 1e9110b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/tasks/db_maintenance.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e9110b

Please sign in to comment.