Skip to content

Commit

Permalink
Dev: added curly brackets around table name
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Oct 25, 2017
1 parent b46e101 commit 925339e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/update/updatedb_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) {

if ($iOldDBVersion < 323) {
$oTransaction = $oDB->beginTransaction();
dropPrimaryKey('labels');
dropPrimaryKey('{{labels}}');
$oDB->createCommand()->addColumn( '{{labels}}', 'liid', 'pk');
$oDB->createCommand()->createIndex('{{idx4_labels}}', '{{labels}}', ['lid','sortorder','language'], false);
$oDB->createCommand()->update('{{settings_global}}',array('stg_value'=>323),"stg_name='DBVersion'");
Expand Down

0 comments on commit 925339e

Please sign in to comment.