I need the command to generate a single entity from an existing database and I cannot get the command formatted correctly. I changed my setup to the DB in parameters.yml to look at the database in question and then I run:
php app/console doctrine:mapping:import AppBundle xml --filter="tbl_remote"
This keeps on complaining that some table that is not related to tbl_remote does not have a primary key. From the error message I can see that it is looking at the correct database but I need to create and entity for only one table.
From my understanding this will create an xml file and to get the entity I will run:
php app/console doctrine:generate:entities AppBundle:tbl_remote --path src/
Why will it not create the xml file?