So, add the same default to the column as in awakeFromInsertion.

It can always be removed again after all rollout of new version is done (aka 
all old instances are dead)

On May 4, 2011, at 4:54 PM, Stefan Klein wrote:

> Am 04.05.11 22:36, schrieb Pascal Robert:
>> Le 2011-05-04 à 16:31, Stefan Klein a écrit :
>> 
>>> There is one pitfall: If you changed the database shema, EOModel and use 
>>> ERXMigration (what have I done without?)
>> Yes, that can be a problem. Not bad if you are only adding columns, but if 
>> removed columns or adding constraints, when people in the "old" instances 
>> save data, it might blow at the database level.
> Adding colums might be also a problem if you add default values via 
> awakeFromInsertion().

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to