aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2018-04-03 14:23:47 +0900
committerYoshiyuki Hirano <yhirano@me.com>2018-04-03 14:24:04 +0900
commitb278e2f5c66bab9d7d4ca9ea87329979e3b506b0 (patch)
tree6f009f1a25dfb95de1317eff4846fbdb2a977444 /activerecord/Rakefile
parent9facd9a9039d9f9697c78ddb57c6685cb27e78ea (diff)
downloadrails-b278e2f5c66bab9d7d4ca9ea87329979e3b506b0.tar.gz
rails-b278e2f5c66bab9d7d4ca9ea87329979e3b506b0.tar.bz2
rails-b278e2f5c66bab9d7d4ca9ea87329979e3b506b0.zip
Display db:drop description in ActiveRecord
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index 591c451da5..170c95b827 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -41,9 +41,11 @@ namespace :test do
end
end
-desc "Build MySQL and PostgreSQL test databases"
namespace :db do
+ desc "Build MySQL and PostgreSQL test databases"
task create: ["db:mysql:build", "db:postgresql:build"]
+
+ desc "Drop MySQL and PostgreSQL test databases"
task drop: ["db:mysql:drop", "db:postgresql:drop"]
end