how can extend because have done :
namespace calendar\calendarbundle\entity; use adesigns\calendarbundle\entity\evententity; use doctrine\orm\mapping orm; /** * seance * * @orm\table(name="seance") * @orm\entity(repositoryclass="calendar\calendarbundle\repository\seancerepository") */ class seance extends evententity { /** * @var int * * @orm\column(name="id", type="integer") * @orm\id * @orm\generatedvalue(strategy="auto") */ protected $id; /** * @var string * * @orm\column(name="seance_type", type="string", length=8) */ private $seancetype; }
and when
php app/console doctrine:schema:update --dump-sql
i have attributes of class seance
create table seance (id int auto_increment not null, seance_type varchar(8) not null, primary key(id)) default character set utf8 collate utf8_unicode_ci engine = innodb;
the problem in entity in bundle adesigns there no @orm\column before attribut
Comments
Post a Comment