Forum OpenACS Development: Re: SCORM RTE

Collapse
4: Re: SCORM RTE (response to 3)
Posted by Don Baccus on
If there's a datamodel change, yes, you need to increment the version number and we also need upgrade scripts.

What kind of datamodel changes are involved? If they can be expressed using SQL's ALTER TABLE syntax, it is generally easiest to write an APM upgrade callback in Tcl, because PG and Oracle both largely implement the SQL standard syntax for this command. Which means you only need to write your upgrade script once.

Collapse
6: Re: SCORM RTE (response to 4)
Posted by Michele Slocovich on
some are alter column, althought to be performed I think i'll have to perform a drop of some automatically created views and reregister the object classes creating them, but what do you mean by APM upgrade callback ? can you give me a pointer to an example ?