Online surveys and reporting
This project is maintained by Nivocer
We use doctrine as database abstraction layer
application/
doctrine/fixtures/data.yml: standard data, is used by install script en testsuite; this file can be generated with /bin/doctrine dump-datamigrations/scheme/schema.yml: definition of the database in yaml formatmodels/Base/; these are the actual classes which are used in the code, specific model adjustments are performed here, every instance represents a row in the tableBase/doctrine/schema/schema.yml; every model corresponds with a table in the database
The main definition is in yaml format in application/doctrine/schema.yml. If you want to adapt the database, edit schema.yml. Doctrine will generate the new models and perform the database changes, via migration-classes.
application/doctrine/scheme/schema.yml./bin/doctrine generate-migrations-diff./bin/doctrine generate-models-yamlmodels/Base/*models/*.php if they do not yet exist./bin/doctrine migrate
Possible problem see http://www.nivocer.com/wish/view.php?id=5329#c16671
Other methods to change the datamodel (deprecated):
bin/doctrine generate-models-db