diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-11 19:14:33 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-11 19:14:33 -0700 |
commit | 7723d15cd0a8dd0526c1ddf4b8b34a0891f04ff1 (patch) | |
tree | 5e5a4f2b0f6318bc8afcd251e48ee4c50be4ee75 /lib | |
parent | 9364e446b1edf34c01202828ebb1e7eaf04b3871 (diff) |
tweak for mysql
Diffstat (limited to 'lib')
-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); |