Re: EOModeler Question
Re: EOModeler Question
- Subject: Re: EOModeler Question
- From: Kieran Kelleher <email@hidden>
- Date: Mon, 25 Jul 2005 00:22:23 -0400
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:
This email sent to email@hidden