Answer the question
In order to leave comments, you need to log in
Is it possible in Doctrine to create an entity without unique fields?
Is it possible in Doctrine to create an entity without unique fields?
/**
* @Table(name="requests")
* @Entity
*/
class Request extends \Data\Orm\Object
{
/** @Column(type="integer") */
protected $date;
/** @Column(type="string") */
protected $ip;
/** @Column(type="string") */
protected $query;
/** @Column(type="string") */
protected $user_agent;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question