Zend framework 验证和更新架构后不执行表

Zend framework 验证和更新架构后不执行表,zend-framework,doctrine-orm,doctrine,zend-framework2,Zend Framework,Doctrine Orm,Doctrine,Zend Framework2,我已经使用条令2在zend framework 2中创建了实体。之后,我使用此命令验证当前模式 ./vendor/bin/doctrine-module orm:validate-schema 我得到了如下输出: Mapping] OK - The mapping files are correct. [Database] FAIL - The database schema is not in sync with the current mapping file. 然后我执行更新命令 .

我已经使用条令2在zend framework 2中创建了实体。之后,我使用此命令验证当前模式

./vendor/bin/doctrine-module orm:validate-schema
我得到了如下输出:

Mapping]  OK - The mapping files are correct.
[Database] FAIL - The database schema is not in sync with the current mapping file.
然后我执行更新命令

./vendor/bin/doctrine-module orm:schema-tool:update --force
其输出如下所示:

Database schema updated successfully! "7" queries were executed
但是,问题是,我的数据库中没有创建表。这有什么问题?

我曾经运行条令模块orm:validate schema,然后运行条令模块orm:schema tool:create。 下面是一个值得尝试的好项目:

您确定选择/查找了正确的数据库吗?是。该配置位于config/autoload/doctor.local.php文件中。。我没有碰那个文件夹中的doctor.php文件。请粘贴你的doctor.local配置。运行验证模式(db更新后)时,条令模块显示什么内容?
返回数组('doctor'=>array('connection'=>array('orm_default'=>array('driverClass'=>'doctor\DBAL\Driver\pdomsql\Driver','params'=>array('host'=>'localhost','port'=>'3306','user'=>'root','password'=>'root','dbname'=>'zf2tuorial',);