1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#6613 #6614 remove superfluous mappings

This commit is contained in:
Marco Pivetta 2017-08-11 14:34:35 +02:00
parent 8b185eb822
commit d7919678e5
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -76,22 +76,13 @@ class DDC6613Test extends OrmFunctionalTestCase
}
}
/**
* @Entity
* @Table(name="ddc6613_user")
*/
/** @Entity */
class DDC6613User
{
/**
* @Id
* @GeneratedValue(strategy="NONE")
* @Column(type="string")
*/
/** @Id @Column(type="string") */
public $id;
/**
* @ManyToMany(targetEntity=DDC6613Phone::class, fetch="LAZY", cascade={"remove", "detach"})
*/
/** @ManyToMany(targetEntity=DDC6613Phone::class) */
public $phones;
public function __construct()
@ -101,18 +92,11 @@ class DDC6613User
}
}
/**
* @Entity
* @Table(name="ddc6613_phone")
*/
/** @Entity */
class DDC6613Phone
{
/**
* @Id
* @GeneratedValue(strategy="NONE")
* @Column(type="integer")
*/
public $id;
/** @Id @Column(type="integer") */
private $id;
public function __construct()
{