Rails 6.0.3.4
Add the following to Gemfile
gem 'rename'
bundle
$ bundle
Delete db unless otherwise specified
$ rake db:drop
$ rails g rename:into {{New app name}}
Move to the folder with the created app name
$ cd ../{{New app name}}
Create a db
$ rake db:create
Migrate
$ rake db:migrate
Recommended Posts