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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/eviltofu%40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to