[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 symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---