Monday, June 6, 2011

Re: binary (36), is changed by Blob (36) in testing.

I answered your other thread also - Binary(36) does nothing to
generate UUID - try char(36) instead. Why would you want your UUID to
be only 0's and 1's? The correct column type is in the documentation -
maybe try reading it.

On Jun 3, 10:03 am, adgranados <adgrana...@gmail.com> wrote:
>  I am driving a model called the channel, and a primary key, I'm
> using, as the data type, binary (36), to generate a UUID cakephp. The
> problem is that when I try to run the test, cake generates sql with
> the wrong data type, placing blob (36) and this generates an error in
> mysql. The fixtures file for this model, the id, is the data type,
> binary (36).
>
> please help with this, thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: