diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-07 09:04:11 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-07 09:04:11 -0600 |
| commit | 7a05566349b3e83b56f8a8e53bc670184027cfbf (patch) | |
| tree | d0fb80742e6b637da94aeee1b7c36041b3bb96d8 /lib/tasks | |
| parent | cd16dfe38863c7bf27982602bb77d78ace0386a1 (diff) | |
remove unused rake task.
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/database.rake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tasks/database.rake b/lib/tasks/database.rake index 12aefe68..5194d268 100644 --- a/lib/tasks/database.rake +++ b/lib/tasks/database.rake @@ -8,10 +8,6 @@ namespace :db do end task :backup do - sh "bundle exec cap #{ENV['RAILS_ENV']} postgresql:backup" - end - - task :restore_to_staging => :backup do - sh "bundle exec cap staging postgresql:restore" + sh "bundle exec cap #{ENV['RAILS_ENV']} db:backup" end end |
