From 852efdf306efaef4ff931aee6e3294a5358f7338 Mon Sep 17 00:00:00 2001 From: romanb Date: Fri, 18 Jan 2008 15:27:54 +0000 Subject: [PATCH] Added a missing test model. --- models/CategoryNestedSet.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 models/CategoryNestedSet.php diff --git a/models/CategoryNestedSet.php b/models/CategoryNestedSet.php new file mode 100644 index 000000000..6fa329acc --- /dev/null +++ b/models/CategoryNestedSet.php @@ -0,0 +1,17 @@ +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() + { + + } +} \ No newline at end of file