db (auto) update
We try hard not to change the db structure. At least in stable branches. And if we do, then it's usually in a backwards compatible manner.
Since quite some time we have the dbupdater tool, which can be invoked with
http://yourdomain.com/admin/webinc/update/
(after you logged in as admin). This tool automatically checks, which updates you already have done and which are necessary. It's safe to call that after each update (svn up and similar). If nothing has to be done, it does nothing ;)
Since today, we also have an autoupdate option, which automatically checks, if it needs a dbupdate or not. It is disabled by default, add
<autodbupdate>true</autodbupdate>
to your conf/config.xml in the <options> section.
If that is on, it checks if it needs an update, if yes, it starts the updater automatically. This comes with an additional db-query on each request... We needed that for Freeflux as we didn't want to upgrade hundreds of accounts manually.
If you should set autodbupdate to true or false is your decision ;) If you remember to call/admin/webinc/update/ after updating BxCMS it's save to leave it on false (or at least call it, when you get unexplainable errors ;) )
Comments
add a comment
This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!
