aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/railties/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake
index ee3668e1a9..2328529817 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -222,7 +222,7 @@ db_namespace = namespace :db do
desc "Creates the database, loads the schema, and initializes with the seed data (use db:reset to also drop the database first)"
task setup: ["db:schema:load_if_ruby", "db:structure:load_if_sql", :seed]
- desc "Creates the database, loads the schema, run the migrations and initializes with the seed data (use db:reset to also drop the database first)"
+ desc "Setup database if doesn’t exist already and run migrations"
task prepare: :load_config do
ActiveRecord::Base.connection
db_namespace["migrate"].invoke