Just using 'doctrine:build --all --and-load' in 1.3.

Javi

On Apr 11, 10:12 pm, Javier Garcia <tirengar...@gmail.com> wrote:
> Hi,
>
> it doesn't work because i'm using sf 1.2.
>
> Is there any way to operate schemas overwriting in sf 1.2 o 1.3?
>
> Javi
>
> On Apr 9, 9:55 pm, Javier Garcia <tirengar...@gmail.com> wrote:
>
> > On 04/09/2010 12:22 PM, Tom Ptacnik wrote:
>
> > > 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<tirengar...@gmail.com>  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
>
> > It was just an example..:), anyway it doesn't work. This is what i have:
>
> > In 'plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml':
>
> > sfGuardUser:
> >    actAs: [Timestampable]
> >    columns:
> >      id:
> >        type: integer(4)
> >        primary: true
> >        autoincrement: true
> >      username:
> >        type: string(128)
> >        notnull: true
> >        unique: true
> > #...
>
> > And in 'config/doctrine/schema.yml':
>
> > sfGuardUser:
> >    columns:
> >      username:
> >        type: string(128)
> >        notnull: false
> >        unique: true
>
> > Then "build-all-reload" but it doesn't change..
>
> > Javi
>
> > --
> > 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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
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.

Reply via email to