534943ef40454b12b929b08ca314ca3b40d7f06a

Author: Mark Story

Date: 2009-06-14 20:15:34 -0400

Updating schema.

diff --git a/config/sql/api_generator.php b/config/sql/api_generator.php index 04b4ecc..618de06 100644 --- a/config/sql/api_generator.php +++ b/config/sql/api_generator.php @@ -54,7 +54,7 @@ class ApiGeneratorSchema extends CakeSchema { **/ public $api_packages = array( 'id' => array('type' => 'string', 'default' => NULL, 'length' => 36, 'null' => false, 'key' => 'primary'), - 'parent_id' => array('type' => 'string', 'default' => NULL, 'length' => 36, 'null' => false, 'key' => 'index'), + 'parent_id' => array('type' => 'string', 'default' => NULL, 'length' => 36, 'null' => true, 'key' => 'index'), 'name' => array('type' => 'string', 'length' => 255, 'null' => false), 'slug' => array('type' => 'string', 'length' => 255, 'null' => false), 'lft' => array('type' => 'integer'),