Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor database set up with new Rails 6 method
* `rake db:prepare` looks to be equivalant. It runs the migration, if no database can be found it then seeks to create one. rails/rails#35768 * Given that this method is now tested as part of rails we have more confidence in the previous bug that reset the database despite it existing. Presumably this was caused by an error in how we were checking if a migration was pending so we should try removing our production guard.
- Loading branch information