Does “$manager->createObjectContainer” update table structures, or just create them if they are not created already? I have a package with updated mysql schema and maps, but when installing the new package, a new column in a table is not getting added. createObjectContainer is running on both ACTION_INSTALL and ACTION_UPGRADE.
It looks like createObjectContainer()
doesn’t run, when the table (with that name) already exists.
I guess if you make a change to the schema in a package, you have to program a resolver that runs an SQL query on upgrade. (I believe if you use GPM, the resolver is created automatically.)
Yeah, looks like I have to create a second resolver to do the column updates.