I thought that you want to just change the username field in sfGuar
from not null to null
.. don't change the schema in plugin
just try to add into your project schema.yml the:
sfGuardUser:
columns:
username:
type: string(128)
notnull: false
unique: true
On 8 dub, 18:54, Javier Garcia <[email protected]> wrote:
> On 04/08/2010 09:28 AM, Tom Ptacnik wrote:
>
> > Did you try to overwrite the schema of sfguard in your schema.yml?
>
> Thanks Tom, I tried writing in config/doctrine/schema.yml this:
>
> car:
> columns:
> brand:
> type: string(32)
>
> and this below in plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml:
>
> car:
> columns:
> brand:
> type: string(256)
>
> Then "build-all-reload", check the DB and the type is string(32). I
> thought maybe it would change to 256, but no..
>
> So, how can i do that? I have Doctrine 1.0 and Sf 1.2.
>
> --
> Javi
>
> Ubuntu 8.04
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
To unsubscribe, reply using "remove me" as the subject.