It’s a LOT of work to document the whole database schema of EE… it’s 91 tables, and some of the tables change, eg. exp_weblog_data. And it’s not like it’s OBVIOUS what’s going on if you wade through the SQL tables… it’s like performing an alien biopsy… I’m wondering what the heck is going on.
Can anyone tell me:
1. Where are the site settings stored? Things like the root folder of the site (e.g. /home/myuser/thisproject/htdocs/)? There is some of this info in exp_sites, but it’s stored all weird (cached?). The problem is that we want to run a dev environment of an EE site, so when we copy over the production version of the database, we need to update certain settings. Preferably, we’d like to do this via an automated script, but after hours of looking, I still haven’t found where those settings are stored. Anybody know the secret?
2. What tables are updated when you do a new version of a template if versioning tracking is in place? Are rows deleted? The idea here is if we develop a new template version in dev, we want to roll that out on the production database as a new version. This has to be done via a script… manual copy and pasting is prone to unacceptable error.
Thanks for your help!