But this requires defining the default by hand in the migration, not in the
model, right?

John

On Mon, Oct 4, 2010 at 12:38 PM, Ramsey Gurley <[email protected]> wrote:

>
> On Oct 4, 2010, at 12:40 PM, John Huss wrote:
>
>  My wish is that in EntityModeler "Generate SQL" would also include the
>> default values, and "Generate Migration" too.
>>
>> John
>>
>
> Most of the migration methods have a method setting the default value.
>  They set the default value using the key er.extensions.eoattribute.default
> in the userInfo dictionary in the model.  That value produces the default
> value in the creation clause sent to the database, but it requires plugin
> support.
>
> Ramsey
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to