HichamEch
HichamEch

Reputation: 715

how to use doctrine schema update without symfony?

Hello i am trying to use doctrine in an PHP application (not symfony) and this is my app structure :

- public
- app
- vendor
   -doctrine
   ....

How to execute doctrine commands in this case ?

Thank you.

Upvotes: 1

Views: 137

Answers (1)

DonCallisto
DonCallisto

Reputation: 29932

You can use DoctrineConsole that is not related anyhow to symfony

Here you can find all the commands

In particular

orm:schema-tool:update Processes the schema and either update the database schema of EntityManager Storage Connection or generate the SQL output.

Upvotes: 3

Related Questions