diff options
author | Ranjay Krishna <rak248@cornell.edu> | 2013-01-20 11:00:26 -0800 |
---|---|---|
committer | Ranjay Krishna <rak248@cornell.edu> | 2013-01-20 11:00:26 -0800 |
commit | 3e74012d660a30040716ffb6c59a6061e9c4eaa7 (patch) | |
tree | b22f1e6ba440b386cbd3ba4b158a9d162f958e97 /activerecord/Rakefile | |
parent | e470ebfe4f648984eb0e638a75ea8334ffd70a25 (diff) | |
download | rails-3e74012d660a30040716ffb6c59a6061e9c4eaa7.tar.gz rails-3e74012d660a30040716ffb6c59a6061e9c4eaa7.tar.bz2 rails-3e74012d660a30040716ffb6c59a6061e9c4eaa7.zip |
added db:drop task that executes mysql:drop_databses and postgresql:drop_databases
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r-- | activerecord/Rakefile | 1 |
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| |