Skip to content
Browse files

Update activerecord/lib/active_record/railties/databases.rake

  • Loading branch information...
1 parent 81deb34 commit e8d69437d4b901c09be1eed6f0bf50949558bdc7 @josevalim josevalim committed Dec 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/railties/databases.rake
2 activerecord/lib/active_record/railties/databases.rake
@@ -371,7 +371,7 @@ db_namespace = namespace :db do
namespace :structure do
- desc 'Dump the database structure to db/structure.sql. Specify an alternative file (eg. db/my_strcuture.sql) using DB_STRUCTURE=db/my_strcuture.sql'
+ desc 'Dump the database structure to db/structure.sql. Specify another file with DB_STRUCTURE=db/my_strcuture.sql'
task :dump => :environment do
abcs = ActiveRecord::Base.configurations
filename = ENV['DB_STRUCTURE'] || File.join(Rails.root, "db", "structure.sql")

0 comments on commit e8d6943

Please sign in to comment.
Something went wrong with that request. Please try again.