I have a ROR application with a sqlite3 db. I want to create a new database, and I do not want to delete the previous one.
generally what is the process to add a new sqlite db in the existing project?
Just change database name in database.yml
file
development:
database: 'changed ndb_name'
...
Follow the below steps:
rake db:create
rake db:migrate
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.