longText and postgresql migrations
longText and postgresql migrations
- Subject: longText and postgresql migrations
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 15 Jan 2009 14:35:24 -0800 (PST)
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