Database - Reset issue


#1

If i reset database (rails db:migrate:reset) , It was shows the permission denied error like (Permission denied @ unlink_internal - D:/sampleapp/db/development.sqlite3). error%20-%20db%20reset


#2

Hello,

I recommend you to check the suggestions here: rails 5 db:reset not working

Good luck!


#3

Hi Maniac,

I am using Rails 5.2.1


#4

Hi,

The principle is the same because it is fifth version after all.


#5

Your suggestion was not success, give me the another possibility.


#6

Try again with the following commands in this order:

rake db:drop:_unsafe
rake db:create
rake db:migrate