Skip to content

Commit

Permalink
Fixed db
Browse files Browse the repository at this point in the history
  • Loading branch information
mhughes2k committed Apr 22, 2024
2 parents 15cea04 + a853741 commit 1590ebb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,6 @@ function xmldb_main_upgrade($oldversion) {

if ($oldversion < 2024032600.01) {


// Changing precision of field attemptsavailable on table task_adhoc to (2).
$table = new xmldb_table('task_adhoc');
$field = new xmldb_field('attemptsavailable', XMLDB_TYPE_INTEGER, '2', null, null, null, null, 'pid');
Expand Down Expand Up @@ -1167,7 +1166,7 @@ function xmldb_main_upgrade($oldversion) {
// Main savepoint reached.
upgrade_main_savepoint(true, 2024041200.00);
}
//if ($oldversion < 2024042200.01) {

if (!$dbman->table_exists($table)) {
// Define table aiprovider to be created.
$table = new xmldb_table('aiprovider');
Expand Down Expand Up @@ -1202,7 +1201,7 @@ function xmldb_main_upgrade($oldversion) {
// Main savepoint reached.
// upgrade_main_savepoint(true, 2024042200.01);
// We're an unnamed version at this point.
}

}
return true;
}

0 comments on commit 1590ebb

Please sign in to comment.