Distinct On Fri, Mar 30, 2012 at 2:40 PM, Theodore Petrosky <[email protected]>wrote:
> 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 protected]>* wrote: > > > From: John Huss <[email protected]> > Subject: Re: unique constraint > To: "Theodore Petrosky" <[email protected]> > Date: Friday, March 30, 2012, 3:27 PM > > > On Fri, Mar 30, 2012 at 2:18 PM, Theodore Petrosky > <[email protected]<http://mc/[email protected]> > > 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. > >
<<attachment: unique.tiff>>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
