[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
1 changed files with 20 additions and 0 deletions
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…
Add table
Reference in a new issue