• 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
longText and postgresql migrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: longText and postgresql migrations
      • From: Lachlan Deck <email@hidden>
    • Re: longText and postgresql migrations
      • From: Jerome Chan <email@hidden>
  • Prev by Date: Re: [OT - kinda] WOWODC 2009 webcasting?
  • Next by Date: Re: longText and postgresql migrations
  • Previous by thread: Re: [OT - kinda] WOWODC 2009 webcasting?
  • Next by thread: Re: longText and postgresql migrations
  • Index(es):
    • Date
    • Thread