[RAILS] Error with db: migrate: reset

When rails db: migrate: reset fails

environment Rails 5.2.4.4

error contents I got the error Text file busy @ apply2files when I did rails db: migrate: reset.

** Solution ** rails db: migrate: reset is

$ rm db/development.sqlite3
$ bin/rails db:setup

rails db: migrate: reset is

$ rm db/development.sqlite3
$ bin/rails db:create db:migrate

I was able to execute each here. It seems that it may happen in the windows environment.

Recommended Posts

Error with db: migrate: reset
Error in rails db: migrate
DB error on deploying with Heroku
Try DB connection with Java
Error when playing with java
PG :: DatatypeMismatch error when doing heroku run rails db: migrate
With the error Cordova-> Looper.prepare ()
[PDO → DB connection with docker, PHP]
General error: 1812 occurs with docker + laravel
[Error] SassC :: SyntaxError with background-image: image-url
DB access using repository with SpringData.
[Rails] Modify migrate file (rails db: rollback)
What to do if you get an error during rails db: reset