【发布时间】:2011-08-23 23:42:52
【问题描述】:
在执行 php app/console dictionary:schema:create 之后,我得到了 消息“没有要处理的元数据类。”。
我的步骤是这样的:
下载 sf2,创建包 Jander/ClarBlundle 并创建 Jander/ClarBundle/Resources/config/doctrine/Jander.ClarBundle.Entity.User.orm.dcm.yml 包含以下内容:
Jander\ClarBundle\Entity\User:
type: entity
table: user
id:
id:
type: integer
generator:
strategy: AUTO
fields:
name:
type: string
length: 255
我对教义:数据库:创建没有任何问题。
有什么想法吗?
sf2 beta1.
哈维尔
【问题讨论】:
标签: symfony