0

这是控制台上的代码。

ubuntu1256:~/httpdocs/site$ php app/console doctrine:schema:update --dump-sql
ALTER TABLE campaign CHANGE adresse_email_business_partner  adresse_email_business_partner   VARCHAR(255) DEFAULT NULL
ubuntu1256:~/httpdocs/site$ php app/console doctrine:schema:update --force
Updating database schema...
Database schema updated successfully! "1" queries were executed

我继续强制,但它没有正确更新。有任何想法吗?我想在一个类中添加一个字段。

4

0 回答 0