I'm interested in how folks handle upgrades to your code and databases
(not ColdBox specifically). I'd appreciate any feedback on how you
deal with these scenarios, and any others that are part of your dev
lives.
The basic issue is how you move code from development to other places,
how you keep the database(s) in sync with the code, and how you manage
the transition from the old code and schema to the new.
- The site may have visitors at any time, not under your control,
maybe lots of them.
- Files and db may be at a hosting company or someplace else that's
not local, so getting code onto the box requires FTP, RDS, DAV, or
something similar.
- For the same reason, modifying the db requires some kind of remote sql access.
- Maybe the trickiest part, unless you shut the site down, the moment
new code gets there, it's running against the un-upgraded db. If you
upgrade the db first, the old code runs against it.
So that's the question, how you deal with all this. Any thoughts would
be much appreciated. I'm in this situation too, and I've been thinking
about what tools I'd like to have available, so any ideas about
helpful infrastructure would be great too.
Thanks all,
Dave