php - Standard idiom for adding new models to an app built on Symfony + Doctrine -


What is the standard way to add a new model to the app built on Symfony + Doctrine while keeping my previous models and their meta -Data (such as relationships).

What I'm really looking for: A command / process that will be equal to . / Script / Models Fumodel in On Ruby

If these are both different things, and I am following the wrong ghost (I think I am thinking that I am

The standard process is to introduce new models and any relationship to the schema. IML is included in the

then. / Symphony theories: Build-all (or: - Build --all for Symphony 1.3 / 1.4)

Reviewers say that you Base classes This operation is not completely destructive, so the operation is not completely destructive.

The principle is also the methodology for migration so that you can easily update the database schema, because you will apply the new code to the output: New version of theory (1.1 +, Symphony 1.3+) - Migration-different functions, which can create migration for you, are very well covered here:

/ P>

[edit: Up Expressed the author's question has copied it down / pasted] Now


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -