Commit ea5b760241c100380d5871ff9f12f043db6091d7
- Date: Sun Jan 27 14:07:34 +0000 2008
- Committer: Priit Tamboom (priit@mx.ee)
- Author: Priit Tamboom (priit@mx.ee)
- Commit SHA1: ea5b760241c100380d5871ff9f12f043db6091d7
- Tree SHA1: b53c8ed84e01c6b1df735d4e3b0a1de89d4d4922
added custom rake task: reset all
Commit diff
| |   |
| 1 | desc "Custom reset all. It will drop current database!!!" |
| 2 | task :reset => ['db:drop', 'db:create', 'db:migrate', 'annotate_models', 'spec:db:fixtures:load', 'db:test:clone_structure'] |
| toggle raw diff |
--- /dev/null
+++ b/lib/tasks/reset_all.rake
@@ -0,0 +1,2 @@
+desc "Custom reset all. It will drop current database!!!"
+task :reset => ['db:drop', 'db:create', 'db:migrate', 'annotate_models', 'spec:db:fixtures:load', 'db:test:clone_structure'] |