Added a missing test model.
This commit is contained in:
parent
7e4875f4b7
commit
852efdf306
17
models/CategoryNestedSet.php
Normal file
17
models/CategoryNestedSet.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
class CategoryNestedSet extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('category_nested_set');
|
||||
$this->hasColumn('id', 'integer', 4, array('primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('name', 'string', 255, array('notnull' => true));
|
||||
|
||||
$this->actAs('NestedSet');
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user