diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-11 13:05:44 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-11 13:05:44 -0700 |
commit | f85511c28f38d8d4a4016e8036d41778286cdb22 (patch) | |
tree | e7f570d67eccfafeab6afbbd162e4f30e3c82b55 | |
parent | 7f674cc957ff36c394d0c1b6811d05d4a08bbf69 (diff) |
quick syntax fix
-rw-r--r-- | lib/pgsqlschema.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pgsqlschema.php b/lib/pgsqlschema.php index f09f41d51..27f004cea 100644 --- a/lib/pgsqlschema.php +++ b/lib/pgsqlschema.php @@ -303,19 +303,19 @@ class PgsqlSchema extends Schema $oldType = $this->mapType($old); $newType = $this->mapType($cd); if ($oldType != $newType) { - $phrase[] .= $prefix . 'TYPE ' . $newType; + $phrase[] = $prefix . 'TYPE ' . $newType; } if (!empty($old['not null']) && empty($cd['not null'])) { - $phrase[] .= $prefix . 'DROP NOT NULL'; + $phrase[] = $prefix . 'DROP NOT NULL'; } else if (empty($old['not null']) && !empty($cd['not null'])) { - $phrase[] .= $prefix . 'SET NOT NULL'; + $phrase[] = $prefix . 'SET NOT NULL'; } if (isset($old['default']) && !isset($cd['default'])) { - $phrase[] . $prefix . 'DROP DEFAULT'; + $phrase[] = $prefix . 'DROP DEFAULT'; } else if (!isset($old['default']) && isset($cd['default'])) { - $phrase[] . $prefix . 'SET DEFAULT ' . $this->quoteDefaultValue($cd); + $phrase[] = $prefix . 'SET DEFAULT ' . $this->quoteDefaultValue($cd); } } |