Re: longText and postgresql migrations
Re: longText and postgresql migrations
- Subject: Re: longText and postgresql migrations
- From: Jerome Chan <email@hidden>
- Date: Fri, 16 Jan 2009 07:03:18 +0800
I get this with MySQL too.
On Jan 16, 2009, at 6:35 AM, Theodore Petrosky wrote:
I know this was asked and I didn't get a reply that really worked.
Postgresql has a column type called 'text'. This is basically a
varchar with no upper limit (very simplified).
When I select in EOModeler a longText column, it select an external
type as 'text'. So far so good.
However when I have the system create the migration for me I get an
entry like this:
toolsTable.newStringColumn("c_tool_description", ${attribute.width},
false);
There is no 'size' for a text column and of course this will fail.
Is there anything I can do? Obviously I am looking for something
like this:
toolsTable.newTextStringColumn("c_tool_description", false);
I just made that up..... Am I doing something wrong?
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
_______________________________________________
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