diff --git a/lib/capistrano-extensions/deploy.rb b/lib/capistrano-extensions/deploy.rb index 04b0c58..f802c71 100644 --- a/lib/capistrano-extensions/deploy.rb +++ b/lib/capistrano-extensions/deploy.rb @@ -235,13 +235,7 @@ def #{env.to_s}(&block) @current_timestamp = files.first.to_i # actually has the extension hanging off of it, but shouldn't be a problem end end - - task :wrap_restore_db do - transaction do - restore_db - end - end - + desc <<-DESC [capistrano-extensions] Untars the backup file downloaded from local:backup_db (specified via the FROM env variable, which defalts to RAILS_ENV), and imports (via mysql command line tool) it back into the database