Jump to content

WebObjects/EOF/Using EOF/Schema Changes

From Wikibooks, open books for an open world

Christian Pekeler

[edit | edit source]

James Seigel and I have written an article that might be of interest to this group. We describe a simple method for encoding structural changes to a database as objects. These objects can be used by applications to automatically bring their databases up-to-date on startup. We include example source code for WebObjects, usage patterns, and the lessons we have learned. Check it out:

http://www.stepwise.com/Articles/2005/DBChanges