Skip to content

Commit

Permalink
Fixed issue: removed conditional around add gsid
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Aug 11, 2017
1 parent f58656b commit 1687b03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -686,10 +686,8 @@ function createSurveyGroupTables306($oDB)
'created_by' => '1'
));

$table = Yii::app()->db->schema->getTable('{{surveys}}');
if(!isset($table->columns['gsid'])) {
$oDB->createCommand()->addColumn('{{surveys}}','gsid',"int(11) DEFAULT 1");
}
$oDB->createCommand()->addColumn('{{surveys}}','gsid',"int(11) DEFAULT 1");


}

Expand Down

0 comments on commit 1687b03

Please sign in to comment.