lNNOVARE/portale_servizi — pull request #5 by antonioJs (2014-02-06 14:00:35+00:00)
Title: Generate Entities from InnovareDB

This PR aims to:
generate Entities from an Existing Database (`php app/console doctrine:mapping:import --force InnovareMainBundle yml`).

Issues:
- For the ENUM type (not supported by DBAL by default).
I changed the file `app/config/config.yml`
adding
`mapping_types:
enum: string`

- For missing `primary key` `alter table anagrafica add column `id` int(10) unsigned primary KEY AUTO_INCREMENT;`