aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-04-03 15:21:51 +0900
committerGitHub <noreply@github.com>2018-04-03 15:21:51 +0900
commita45f3c959b31fac63f48d219f3484ce03c577d46 (patch)
tree062798ef1cd2787484c70c075faad65ef979160e
parent41e9a671d6fbb7ed7f98ef1b6b46ee4ac3db27a9 (diff)
parentb278e2f5c66bab9d7d4ca9ea87329979e3b506b0 (diff)
downloadrails-a45f3c959b31fac63f48d219f3484ce03c577d46.tar.gz
rails-a45f3c959b31fac63f48d219f3484ce03c577d46.tar.bz2
rails-a45f3c959b31fac63f48d219f3484ce03c577d46.zip
Merge pull request #32430 from yhirano55/display_db_drop_desc_in_activerecord
Display db:drop description in ActiveRecord
-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