Reputation: 31
How generate Doctrine Models from database on windows? (I working with zend studio and zend framework)
Upvotes: 3
Views: 1548
Reputation: 17977
php doctrine build-schema
is the command to use. See takeshin's answer too.
Upvotes: 1
Reputation: 50638
There is a nice command line script called doctrine
for this task (among others). You may run it by calling php doctrine [params]
from the command line or creating your own .bat
, basing on this shell script.
Take a look at Doctrine Sandbox package and Doctrine manual for details.
Upvotes: 2