I'm new to Symfony + Doctrine, but pretty experienced in developing web applications in general (mostly using the Zend Framework). I started a new project using Symfony, and I love it.
I have a small number of fixtures in my / data / fixtures / folder that load whenever I update the circuit and do:
sf doctrine:build --all --and-load
The problem is that adding tools is really tedious, while the interface of my application loads data pretty quickly. Thus, I load the test data into the database (using my application), but then whenever I make changes to the circuit (and run the above statement), it returns data only on what is in the devices.
In the manual, I read that the -and-append option will not overwrite data in the database. But the -all option says it resets the database.
Obviously, if I remove a column from the schema, I will lose this information, but I just want to keep my new records.
Sorry if I miss something very obvious. Thanks in advance for any help you can provide!
source share