diff options
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r-- | lib/mysqlschema.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index a2ca835d9..688bea3e2 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -444,19 +444,15 @@ class MysqlSchema extends Schema function columnSql(array $cd) { $line = array(); - $line[] = parent::_columnSql($cd); + $line[] = parent::columnSql($cd); if ($cd['type'] == 'serial') { $line[] = 'auto_increment'; } - if (!empty($cd['extra'])) { - $line[] = $cd['extra']; // hisss boooo - } - if (!empty($cd['description'])) { $line[] = 'comment'; - $line[] = $this->quote($cd['description']); + $line[] = $this->quoteValue($cd['description']); } return implode(' ', $line); |