Mysql 5.6 Doctrine 2.5
I created a table with 19 columns and ran
php app/console doctrine:generate:entities AcmeBlogBundle
As described here:
http://symfony.com/doc/current/doctrine/reverse_engineering.html
Which created the entitity class and repository class but only created the id
column. Also I notice there is no meta info such as autonumber for the id...I also tried with -vvv
but it runs without error.
namespace Test\CoreBundle\Entity;
/**
* TestEvent
*/
class TestEvent
{
/**
* @var integer
*/
private $id;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
}
Why did it not create the other 18 properties?