Package Reading Entity Mappings on install, accessing Doctrine CLI in context of Concrete5 Application?1 user found helpful
Put up my directory of Package Specific Entities that usually I would run:
orm:schema-tool:update then orm:schema-tool:update --force to create the tables (including join tables)
or to do the same outside of a package. Is there something I'm missing, or is it up to me to do this myself, then take the generated schema and put it in a db.xml file for a package or site_db.xml for an application?
I just don't see where this would be available to the current install via the CLI.
Thanks, this is probably a question for Andrew or Korvin.
Is this related to what you are looking for?
It shows how we can use Doctrine entities to create tables at package installation.
To generate entities from an existing MySQL database, I need access to the Doctrine CLI.
(This this tutorial, for example :http://symfony.com/doc/current/cookbook/doctrine/reverse_engineerin...
But I don't know how to use the Doctrine CLI in Concrete5.
(As a workaround, I created a fake Symfony app, and a fake bundle in it, and I created my entities from here)