diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-18 20:56:59 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-18 20:56:59 +0100 |
commit | e8d69437d4b901c09be1eed6f0bf50949558bdc7 (patch) | |
tree | 33f38c025d12770c993bf5525ec655195b06adc9 /activerecord | |
parent | 81deb346afdf5e0de04b10dd4150dfadc3e9060a (diff) | |
download | rails-e8d69437d4b901c09be1eed6f0bf50949558bdc7.tar.gz rails-e8d69437d4b901c09be1eed6f0bf50949558bdc7.tar.bz2 rails-e8d69437d4b901c09be1eed6f0bf50949558bdc7.zip |
Update activerecord/lib/active_record/railties/databases.rake
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 1dc17840fa..edc5ec766d 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -371,7 +371,7 @@ db_namespace = namespace :db do end 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") |