[Nitro] property Integer no longer works in repo version (Fixnum still does)

George Moschovitis george.moschovitis at gmail.com
Tue Dec 18 03:27:01 EST 2007


thanks for reporting...

On Dec 18, 2007 2:07 AM, Bill Kelly <billk at cts.com> wrote:

> 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
>
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://gmosx.me.gr
http://joy.gr
http://cull.gr
http://nitroproject.org
http://phidz.com
http://joyerz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071218/aa226830/attachment.html 


More information about the Nitro-general mailing list