Doctrine::Windows::How generate Doctrine Models on windows?
How g开发者_开发问答enerate Doctrine Models from database on windows? (I working with zend studio and zend framework)
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.
php doctrine build-schema
is the command to use. See takeshin's answer too.
精彩评论