For the time being, I maintain a SQL upgrade script whenever I alter a model, so I can easily execute it when moving from staging to production; I just store it with my schema.
I’m curious how xPDO handles upgrades to a database model. Suppose I wanted to upgrade my application from version 1 to version 2, and version 2 adds a new column (field) to a table. Will I have to manually write my own upgrade script, or can xPDOManager detect the changes and make the necessary alterations to the table? Will this functionality be available in future version of xPDO?
Thanks!