Changeset 8382
- Timestamp:
- 12/14/07 17:47:56 (10 months ago)
- Files:
-
- trunk/activesupport/MIT-LICENSE (modified) (1 diff)
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/tasks/databases.rake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/MIT-LICENSE
r5120 r8382 1 Copyright (c) 2005-200 6David Heinemeier Hansson1 Copyright (c) 2005-2007 David Heinemeier Hansson 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining trunk/railties/CHANGELOG
r8360 r8382 1 1 *SVN* 2 3 * Added db:migrate:redo for rerunning existing migrations #10431 [matt] 2 4 3 5 * RAILS_GEM_VERSION may be double-quoted also. #10443 [James Cox] trunk/railties/lib/tasks/databases.rake
r8338 r8382 85 85 ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil) 86 86 Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby 87 end 88 89 namespace :migrate do 90 desc 'Rollbacks the database one migration and re migrate up. If you want to rollback more than one step, define STEP=x' 91 task :redo => [ 'db:rollback', 'db:migrate' ] 87 92 end 88 93