엔티티에 cahmps를 추가하려고합니다. 이 메시지 렌더링Symfony2 엔티티에 필드를 추가하는 방법
php app/console doctrine:schema:update
php app/console doctrine:schema:update --dump-sql
php app/console doctrine:schema:update --force
: yopur 데이터베이스를 업데이트 할 수
아무것도 현재 엔티티 메타 데이터와 동기화 이미
내가이 명령을 실행 :이 코드가/** * @var integer $colorevent * @ORM\Column(name="colorevent", type="integer") */ private $colorevent; /** * Get colorevent * @return integer */ public function getColorevent() { return $this->colorevent; } /** * Set colorevent * @return integer */ public function setColorevent($colorevent) { return $this->colorevent = $colorevent ; }
필드를 en 티티?
예 I 시도를하지만 나는이 시도했다 같은 probleme –