forked from DemocracyOS/NetID
-
Notifications
You must be signed in to change notification settings - Fork 0
Loading fixtures
Sacha Lifszyc edited this page Jan 8, 2014
·
1 revision
Initial fixtures consists of LegalIdTypes (currently DNI, which stands for Documento Nacional de Identidad) and Groups, which contains a roles-permission schema.
To load initial fixtures, run the following command on the project root directory: php app/console doctrine:fixtures:load Enter 'Y' when prompted.
Note: Be careful with this command, if you don't suffix it with the --append parameter, it will delete all the database data and load the fixtures. So don't run it if there is already some data on your database.