why fabian don't give access to wiki and development trunk...
so i could change the old and out-of-date sfDoctrine wiki... :)

thanks Matthias

On 26 Jun., 10:14, Matthias Nothhaft <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > hi sfDoctrine dev's and gurus
>
> > i've setted up my config (./config/doctrine.yml) to do automatic table
> > generation:
> > ..
> > all:
> >   #doctrine attributes
> >   attributes:
> >     #automatic table creation (none, tables, constraints, all)
> >     create_tables: on
> > ..
>
> > and i tried as well the following:
> > ...
> > #automatic table creation (none, tables, constraints, all)
> >     export:  all
> > ...
>
> > but a $object->save(); gives me the following error:
> > SQLSTATE[42S02]: Base table or view not found: 1146 Table
> > 'ikeaostschweiz.anmeldung' doesn't exist
>
> Automatic table creation (in the meaning of "on the fly") was removed
> from Doctrine.
>
> You have to call Doctrine::export($dir); where $dir is your model directory.
>
> I think there will be a task for that soon provided by the
> sfDoctrinePlugin, but is is not implemented yet.
>
> Regards,
> Matthias


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to