Skip to content

Commit

Permalink
fixed yiisoft#2969 CPgsqlSchema::addColumn() converts column type twice
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Jan 28, 2014
1 parent e5f7eb2 commit b5604ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Version 1.1.15 under development
- Bug #2378: CActiveRecord::tableName() in namespaced model returned fully qualified class name (velosipedist, cebe)
- Bug #2654: Allow CDbCommand to compose queries without 'from' clause (klimov-paul)
- Bug #2658: CBaseListView, CGridView, CListView: added note about $itemsCssClass and $pagerCssClass properties, they must not contain empty string, null or false values (resurtm)
- Bug #2969: CPgsqlSchema::addColumn() converts column type twice (cebe, klimov-paul)
- Bug #2753: Fixed CErrorHandler::errorAction ignored if error occurs while AJAX request (klimov-paul)
- Bug #2756: Fixed applying condition twice during Active Record relation lazy loading (klimov-paul)
- Bug #2770: Fixed CClientScript renders scripts with different HTML options inside same tag (klimov-paul)
Expand Down
2 changes: 1 addition & 1 deletion framework/db/schema/pgsql/CPgsqlSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function addColumn($table, $column, $type)
$type=$this->getColumnType($type);
$sql='ALTER TABLE ' . $this->quoteTableName($table)
. ' ADD COLUMN ' . $this->quoteColumnName($column) . ' '
. $this->getColumnType($type);
. $type;
return $sql;
}

Expand Down

0 comments on commit b5604ba

Please sign in to comment.