Database management: trunk vs. branch versions
Added by Michael Cianfrocco almost 9 years ago
Hello,
We have a database question:
Is it OK to run a single database that will be used with both trunk and myami-3.2-branch versions? Essentially, are the databases backwards compatible?
If not, what is a good workflow to allow users access to both branch and trunk versions?
Thanks!
Mike
Replies (2)
RE: Database management: trunk vs. branch versions - Added by Anchi Cheng almost 9 years ago
Until there is database schema change that is incompatible with older database, in which case we would make a dbschema update script that you can check for and do an update, trunk is compatible to the latest version. In this case, 3.2 branch. Right now, they are compatible. To check, goto myami/dbschema and run
python ./schema_update.py
Advanced user/developer who uses both trunk and branch should have separate environment or soft link set to point to the correct branch. You can write a bash script that have users source when they should use a different branch.
RE: Database management: trunk vs. branch versions - Added by Michael Cianfrocco almost 9 years ago
Thank you for your response Anchi!