Re: unique constraint
Re: unique constraint
- Subject: Re: unique constraint
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 30 Mar 2012 12:40:42 -0700 (PDT)
I found the entity index by right clicking on the attribute, but I can not find anything that says 'unique'.
--- On Fri, 3/30/12, John Huss <email@hidden> wrote:
From: John Huss <email@hidden> Subject: Re: unique constraint To: "Theodore Petrosky" <email@hidden> Date: Friday, March 30, 2012, 3:27 PM
On Fri, Mar 30, 2012 at 2:18 PM, Theodore Petrosky <email@hidden> wrote:
Is there a way to put a unique constraint on an attribute in Entity Modeler and have it create the migrations. I don't see anything in any of the menus.
You add an "entity index" and mark it as unique in modeler. A unique index is essentially the same as a unique constraint for most databases.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden