Skip to content

Commit

Permalink
MDL-78909 mod_lti: Fix upgrade.php for lti.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov authored and snake committed Sep 11, 2023
1 parent 996760f commit faa491f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lti/db/upgrade.php
Expand Up @@ -145,7 +145,7 @@ function xmldb_lti_upgrade($oldversion) {
$table->add_field('id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE);
$table->add_field('typeid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null, 'id');
$table->add_field('courseid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null, 'typeid');
$table->add_field('coursevisible', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null, 'courseid');
$table->add_field('coursevisible', XMLDB_TYPE_INTEGER, '1', null, XMLDB_NOTNULL, null, null, 'courseid');

// Add key.
$table->add_key('primary', XMLDB_KEY_PRIMARY, ['id']);
Expand Down

0 comments on commit faa491f

Please sign in to comment.