Hello,

I am trying to update my data model base classes because we added a
new column to one of the tables in our symfony project. The database
has live data that we need to keep - Just need to update the classes
here:

/lib/model/om


This is the command I ran:

symfony propel-build-model


Here is was the output, close to the error:
.
.
.
.

.
[propel-om] Target database type: mysql
[propel-om] Target package: lib.model
[propel-om] Using template path: /usr/share/php5/symfony/lib/vendor/
propel-generator/templates
[propel-om] Output directory: /usr/share/sweetwater
[propel-om] Processing: schema.xml
[propel-om] Processing: generated-schema.xml

Execution of target "om-template" failed for the following reason: /
usr/share/php5/symfony/lib/vendor/propel-generator/build-propel.xml:
470:1: Duplicate table found: propel.
[phingcall] /usr/share/php5/symfony/lib/vendor/propel-generator/build-
propel.xml:470:1: Duplicate table found: propel.


The error suggests that maybe I should be using a different command,
one that updates the current model?


Thanks

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