• 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
migrations in framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

migrations in framework


  • Subject: migrations in framework
  • From: Jeff Schmitz <email@hidden>
  • Date: Tue, 14 Apr 2009 06:33:19 -0500

Hello,
  I'm trying to get migrations to run on my model that is defined in a framework, but I'm not sure where to put the migrations class (in the framework or my application that references the framework) and where to put the properties related to migrations (framework or app?).  Also, what should the first part of the below "netbrackets.MigrationClassPrefix" be named after, the framework project or the app project?  I've tried about every different combination I can think of but can't seem to hit on the correct setup as when I run, the database tables don't get created.  

Below are how my properties are set:

# Migrations
er.migration.migrateAtStartup=true
er.migration.createTablesIfNecessary=true
er.migration.modelNames=netbracketsFW
netbrackets.MigrationClassPrefix=com.netbrackets.migration.Netbrackets

#Connection Dictionary
dbConnectURLGLOBAL=jdbc:frontbase://localhost/myDB
dbConnectUserGLOBAL=myDBUser
dbConnectPasswordGLOBAL=myPW


thanks,
Jeff
 _______________________________________________
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: migrations in framework
      • From: Mike Schrag <email@hidden>
    • Re: migrations in framework
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: NSProjectSearchPath
  • Next by Date: Re: migrations in framework
  • Previous by thread: Re: NSProjectSearchPath
  • Next by thread: Re: migrations in framework
  • Index(es):
    • Date
    • Thread