fix up some more 'not null's and such

This commit is contained in:
Brion Vibber
2010-10-07 17:31:56 -07:00
parent 85156fcbed
commit efa8ff82f4
2 changed files with 29 additions and 29 deletions

View File

@@ -130,7 +130,7 @@ class MysqlSchema extends Schema
// We'll need to look up key info...
$hasKeys = true;
}
if ($row['COLUMN_COMMENT'] !== null) {
if ($row['COLUMN_COMMENT'] !== null && $row['COLUMN_COMMENT'] != '') {
$field['description'] = $row['COLUMN_COMMENT'];
}