Ticket #7521: db_version_rake_task.diff
| File db_version_rake_task.diff, 0.7 kB (added by pelargir, 2 years ago) |
|---|
-
railties/lib/tasks/databases.rake
old new 5 5 Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby 6 6 end 7 7 8 desc "Print the current database migration version to the console" 9 task :version => :environment do 10 puts "VERSION=#{ActiveRecord::Migrator.current_version}" 11 end 12 8 13 namespace :fixtures do 9 14 desc "Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y" 10 15 task :load => :environment do