• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Entity Modeler, attributes default value for migrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entity Modeler, attributes default value for migrations


  • Subject: Entity Modeler, attributes default value for migrations
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 18 Apr 2012 12:33:08 -0700 (PDT)

When I create an attribute in Entity Modeler, and create the migrations, it does a beautiful job.

creativeBriefTable.newFlagBooleanColumn("isfiled", false);

and I know I can add a default value here

creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);

problem is that if I go back and alter the schema and recreate the migration, I must remember to add in the default selector(s).

I don't see in EM where I could put in a default value (or I am blind).

Is there a place to put in a default value in Entity Modeler so the migrations it creates include the default value?

Ted
 _______________________________________________
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

  • Follow-Ups:
    • Re: Entity Modeler, attributes default value for migrations
      • From: David Holt <email@hidden>
    • Re: Entity Modeler, attributes default value for migrations
      • From: John Huss <email@hidden>
  • Prev by Date: Re: WOUnit
  • Next by Date: Re: Entity Modeler, attributes default value for migrations
  • Previous by thread: Is there a 'propertyNameComponentName' equivalent in EXCEL look ?
  • Next by thread: Re: Entity Modeler, attributes default value for migrations
  • Index(es):
    • Date
    • Thread