Skip to content

Commit f33a87f

Browse files
committed
Show db:migrate:reset in rake --tasks
This was [previously][1] hidden, but is now more relevant because `db:migrate` loads the schema before migrating and developers are interested in the previous behavior. [1]: 9838156
1 parent d1f913c commit f33a87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/railties/databases.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ db_namespace = namespace :db do
160160
end
161161
end
162162

163-
# desc 'Resets your database using your migrations for the current environment'
163+
desc "Resets your database using your migrations for the current environment"
164164
task reset: ["db:drop", "db:create", "db:schema:dump", "db:migrate"]
165165

166166
desc 'Run the "up" for a given migration VERSION.'

0 commit comments

Comments
 (0)