From f85511c28f38d8d4a4016e8036d41778286cdb22 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 11 Oct 2010 13:05:44 -0700 Subject: quick syntax fix --- lib/pgsqlschema.php | 10 +++++----- 1 file 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); } } -- cgit v1.2.3-54-g00ecf