From 3e74012d660a30040716ffb6c59a6061e9c4eaa7 Mon Sep 17 00:00:00 2001 From: Ranjay Krishna Date: Sun, 20 Jan 2013 11:00:26 -0800 Subject: added db:drop task that executes mysql:drop_databses and postgresql:drop_databases --- activerecord/Rakefile | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/Rakefile') 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| -- cgit v1.2.3