Forums / Developer / In which case do I need to update the database ?
Nabil Alimi
Friday 24 June 2005 8:33:29 am
Hi,
Here's my situation. I work on an Exponential site on my comp' (local then). There's also an online version and an other person is adding content to it .But the site is not complete yet, so I still have to make functoinal changes.As database updates are a bit troublesome and as I think I dont need to update it every time I change something in the site, I'd like to know what requires database updates.
Thanks for reading me.
My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com eZ Publish Freelance developper. Feel free to contact me +33 674 367 057 nabil at assiki d0t fr
Paul Borgermans
Friday 24 June 2005 9:44:31 am
Nabil, what do you mean by functional changes?
Anyway, if you mean things done in the admin interface most of the time update the underlying database (example: content, classes, roles and policies, ...)
Only ini settings and templates do not reside in the database ...
If you have content out of sync between your local and live site, you can use object export and import, class export and import but that's all. In the 4.x series, there will probably much more to import/export.
Do not try to update the dabase yourself, you will probably corrupt it as the ezp database design is heavily normalised.
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Monday 27 June 2005 5:04:28 am
I meant changing classes, adding new ones etc... Everything that is not content related.
But I somehow have my answer. Thanks Paul.