Adding a second SQLite db in Ruby on Rails -
i have ror application sqlite3 db. want create new database, , not want delete previous one.
- how define new db in current project, when run rake db:create referring new one?
generally process add new sqlite db in existing project?
follow below steps:
- change database name in database.yml file
rake db:create
rake db:migrate
Comments
Post a Comment