Development Questions

Frequently asked OpenProject development questions. Get answer to frequently asked questions about OpenProject development topics.

Can I (re)create an SQL database openproject_development without erasing the production database?

If you configured the development database in your database.yml you can simply execute the command rake db:create and rake db:migrate. In case you already had a development database you have to do rake db:drop.Another hint: The default environment rake will take is development. But it is possible to change that. So to be sure to take the development database you can prepend RAILS_ENV=development, i.e. RAILS_ENV=development rake db:create.< Back to FAQs