AFAIK it mixes the model class files and schema.yml when building SQL. Try running doctrine:build --all-classes before doctrine:build-sql
Am 13.04.2011 01:40, schrieb OnDistantShores: > I've been making some changes to my DB schema, so I updated my > schema.yml file. However, when I go to run "./symfony doctrine:build- > sql" it *kind of* looks at a stale version of the schema.yml file, as > if some of the old config is cached somewhere. > > I used to have a table called "author" but I updated it to > "content_author". I've looked through my schema.yml file and I can't > find any mentions of "author" (except where the text search matches it > within "content_author", obviously). I've also searched through my > entire code base and got the same result. > > The strangest thing is that it isn't just looking at a stale version - > when I run "doctrine:build-sql" the resulting schema.sql file has both > the "author" and "content_author" definitions. Just to re-iterate, > I've changed "author" TO "content_author" - it would make a little > more sense if it just got the old one, but why is it getting both!?! > > Any and all help would be appreciated, because this is extremely > frustrating. > -- 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