Skip to content

Database Backend

Nikolas Bompetsis edited this page Sep 30, 2016 · 2 revisions

#Database Backend

Ruby on Rails framework, as it is known, uses sqlite db backend. Thalia project was started to use sqlite but in the current version of project, Thalia's DB backend system has been changed. So in the below paragraph, you'll find the necessary commands that needed.

Overall steps of procedure

  1. rake db:drop

  2. Changed config/database.yml

  3. GemFile Added mysql adapter

  4. bundle install

  5. git add Gemfile.lock

  6. rake db:create

  7. rake db:migrate

Clone this wiki locally