aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-01-20 11:11:21 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-01-20 11:11:21 -0800
commitd4261d8562a3fa9be3d04235077543d92d8cfd23 (patch)
tree22ae7325321a6e5d3190cc0731ff0f4101790367
parenta1c0e51a2c99ec88fba59824b59f32f0d34a0aae (diff)
parent3e74012d660a30040716ffb6c59a6061e9c4eaa7 (diff)
downloadrails-d4261d8562a3fa9be3d04235077543d92d8cfd23.tar.gz
rails-d4261d8562a3fa9be3d04235077543d92d8cfd23.tar.bz2
rails-d4261d8562a3fa9be3d04235077543d92d8cfd23.zip
Merge pull request #9008 from ranjaykrishna/dbcreate
Added a new rake task in activerecord
-rw-r--r--activerecord/Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index 0702063c60..0523314128 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -41,6 +41,7 @@ end
namespace :db do
task :create => ['mysql:build_databases', 'postgresql:build_databases']
+ task :drop => ['mysql:drop_databases', 'postgresql:drop_databases']
end
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|