• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: longText and postgresql migrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >longText and postgresql migrations (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: longText and postgresql migrations
  • Next by Date: Re: [OT - kinda] WOWODC 2009 webcasting?
  • Previous by thread: longText and postgresql migrations
  • Next by thread: Re: longText and postgresql migrations
  • Index(es):
    • Date
    • Thread