[Cl-perec-devel] Schema evolution: handling of initforms
Leslie P. Polzer
leslie.polzer at gmx.net
Wed Aug 27 08:55:20 UTC 2008
> On Tue, Aug 26, 2008 at 9:10 PM, Leslie P. Polzer <leslie.polzer at gmx.net> wrote:
>> I just noticed that existing instances don't get updated
>> with a specified initform when a slot addition takes place.
>> Deliberate or a bug?
> It is a missing feature and unfortunately it can even make impossible
> to load an instance from the database after the slot addition. For
> example, if you define a new slot with integer-16 and do not allow
> nils, then the database will be incorrect, because the alter table
> will add the column with NULL default value which is certainly not an
Sounds bad to me because it breaks a basic assumption about the
MOP and, as you said, the integrity of the database.
I'll look into this.
More information about the cl-perec-devel