Adding classes required by the SchemaToolTest
that exist in 'master', but not in '2.5'
This commit is contained in:
parent
910784213f
commit
9c2b54b748
@ -208,3 +208,45 @@ class UniqueConstraintAnnotationModel
|
|||||||
*/
|
*/
|
||||||
private $hash;
|
private $hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Entity
|
||||||
|
* @Table(name="first_entity")
|
||||||
|
*/
|
||||||
|
class FirstEntity
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @Id
|
||||||
|
* @Column(name="id")
|
||||||
|
*/
|
||||||
|
public $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @OneToOne(targetEntity="SecondEntity")
|
||||||
|
* @JoinColumn(name="id", referencedColumnName="fist_entity_id")
|
||||||
|
*/
|
||||||
|
public $secondEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Column(name="name")
|
||||||
|
*/
|
||||||
|
public $name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Entity
|
||||||
|
* @Table(name="second_entity")
|
||||||
|
*/
|
||||||
|
class SecondEntity
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @Id
|
||||||
|
* @Column(name="fist_entity_id")
|
||||||
|
*/
|
||||||
|
public $fist_entity_id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Column(name="name")
|
||||||
|
*/
|
||||||
|
public $name;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user