merge from 1.0

This commit is contained in:
qiang.xue
2009-02-18 19:29:48 +00:00
parent 7313c6e69d
commit 2aaa9cecf6
46 changed files with 82 additions and 28 deletions

View File

@@ -101,7 +101,7 @@ EOD;
{
if($column->isPrimaryKey && $table->sequenceName!==null || $column->isForeignKey)
continue;
if(!$column->allowNull)
if(!$column->allowNull && $column->defaultValue!==null)
$required[]=$column->name;
if($column->type==='integer')
$integers[]=$column->name;