Allow level field to be null for pqsql and sqlite.

This commit is contained in:
ADmad 2015-02-15 23:04:13 +05:30
parent e095885dc4
commit 204f50bb97

View file

@ -38,6 +38,6 @@ class NumberTreeFixture extends CakeTestFixture {
'parent_id' => 'integer',
'lft' => array('type' => 'integer', 'null' => false),
'rght' => array('type' => 'integer', 'null' => false),
'level' => array('type' => 'integer', 'null' => false)
'level' => array('type' => 'integer', 'null' => true)
);
}