change database in Rails projects on 'git checkout'

Sometimes I am working on the different branches where possible to have different database schemes. I’ve decided to add to the database names ‘—-branch_name’ information. and then recreate database.

0 notes