[Nitro] property Integer no longer works in repo version (Fixnum still does)
Bill Kelly
billk at cts.com
Mon Dec 17 19:07:08 EST 2007
Hi,
I'm in the habit of declaring integer properties like:
property :foo, Integer
This used to work, but in the current repo version, the type is
omitted entirely when the table is created:
For ex:
DEBUG: CREATE TABLE "ogsometable" ("foo" , "oid" serial PRIMARY KEY) WITHOUT OIDS
^^^
If I change it to:
property :foo, Fixnum
Then it works:
DEBUG: CREATE TABLE "ogsometable" ("foo" integer, "oid" serial PRIMARY KEY) WITHOUT OIDS
(I'm using the Postgresql adapter.)
Regards,
Bill
More information about the Nitro-general
mailing list