Re: Moving from MySQL to PostgreSQL with Ruby on Rails.

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: robby(at)planetargon(dot)com
Cc: Peter Michaux <petermichaux(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Moving from MySQL to PostgreSQL with Ruby on Rails.
Date: 2005-11-17 21:10:37
Message-ID: 20051117211037.GA17888@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 17, 2005 at 09:23:51 -0800,
Robby Russell <robby(dot)lists(at)planetargon(dot)com> wrote:
>
> CREATE TABLE product (
> id SERIAL PRIMARY KEY,
> name VARCHAR(255) NOT NULL DEFAULT '',
> );

And depending on why you chose VARCHAR(255), you may really want to use TEXT
instead.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reid Thompson 2005-11-17 21:11:11 [Fwd: Sun backs open-source database PostgreSQL | Topic: "everything" | ZDNet News Alerts]
Previous Message David Mitchell 2005-11-17 21:05:47 Strange slow database