Doctrine2 create and update your database from your zf2 project
./vendor/bin/doctrine-module orm:schema-tool:create --force
./vendor/bin/doctrine-module orm:schema-tool:update --force
--force //update directly
--dump-sql //dump the sql code to console