Add db:prepare rake task.
#35768

robertomiranda wants to merge robertomiranda:r/rake-db-prepare into rails:master

We do not currently have an analysis of these two commits