[2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type
This commit is contained in:
parent
3ef0bf50e9
commit
51a0a912be
20
tests/Doctrine/Tests/Models/Generic/BooleanModel.php
Normal file
20
tests/Doctrine/Tests/Models/Generic/BooleanModel.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\Tests\Models\Generic;
|
||||
|
||||
/**
|
||||
* @Entity
|
||||
* @Table(name="boolean_model")
|
||||
*/
|
||||
class DecimalModel
|
||||
{
|
||||
/**
|
||||
* @Id @Column(type="integer")
|
||||
* @GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @Column(type="boolean", default=true)
|
||||
*/
|
||||
public $boolean;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user