Re: EOModeler Question
Re: EOModeler Question
- Subject: Re: EOModeler Question
- From: Dave Elsner <email@hidden>
- Date: Mon, 25 Jul 2005 14:57:16 +1000
Or if you want to make life really easy just use Openbase, its as easy
as;
1) change your EOModel
2) type in "synchronize eomodel" via commandline/sql.
All done.
Openbase even lets you merge schema changes from your development to
your deployment DB, keeping all your existing data in-tack.
regards
Dave
On 25/07/2005, at 2:22 PM, Kieran Kelleher wrote:
Just make the desired change to the database directly. In general,
EOModeler can give you "auto-generated SQL" for you to use in creating
your initial database, however it is often prudent to make db
structure edits directly using command line SQL such as "ALTER TABLE
mytable ...." or use a database GUI editing tool.
So, when you tweak your EOModel, you need to make corresponding tweaks
if applicable to your SQL database structure, especially when you want
to ensure the integrity of existing data.
-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Jul 23, 2005, at 2:29 PM, Darich Runyan/OMNI INFOSEC LTD HQ wrote:
All,
I am fairly new to WO still; although, I do have one production app
online
and working nicely. I need to add a field to the database that I am
using
with the app without drop and rebuilding the tables. I added an
attribute
for the new field in the model but can not find how to have EOModeler
modify
the table in the database without dropping the current table and
rebuilding,
which would obviously present a problem. Can this be done through
EOModeler
or do I have to add the new field via commandline/sql tool as well as
adding
it to the model?
Thanks,
Darich
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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