Skip to content

Commit

Permalink
Dev: Missing default value for plugin_type column
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 23, 2018
1 parent 6cd675b commit 72b70e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/update/updatedb_helper.php
Expand Up @@ -2346,7 +2346,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent = false)
$oTransaction = $oDB->beginTransaction();

// Plugin type is either "core" or "user" (different folder locations).
$oDB->createCommand()->addColumn('{{plugins}}', 'plugin_type', 'string(4)');
$oDB->createCommand()->addColumn('{{plugins}}', 'plugin_type', "string(4) default 'user'");

$oDB->createCommand()->update('{{settings_global}}', array('stg_value'=>401), "stg_name='DBVersion'");

Expand Down

0 comments on commit 72b70e4

Please sign in to comment.