6
我嘗試使用Doctrine2爲我的Symfony2應用程序構建manyToOne關係。我得到這個錯誤,我不知道爲什麼:OneToMany/ManyToOne SchemaException
app/console doctrine:schema:create
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
ATTENTION: This operation should not be executed in an production enviroment.
[Doctrine\DBAL\Schema\SchemaException]
There is no column with name 'activityGroup' on table 'activity'.
這些是兩類:http://pastebin.com/Ev7Rwgxr
我覺得實際上是對的ActivityGroup Activity類......那麼,什麼是錯誤嘗試說?
謝謝!