Skip to content

Commit

Permalink
remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Leone25 committed Jul 3, 2024
1 parent 434566c commit 3ce013a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/update-db.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
}

$sql = file_get_contents($filename);
var_dump($rawDb->exec('BEGIN'));
$rawDb->exec('BEGIN');
$result = $rawDb->exec($sql);
if ($result === false) {
throw new \Exception('Error executing query: ' . $rawDb->lastErrorMsg(), 3);
}
$db->setConfigValue('SchemaVersion', $currentVersion);
var_dump($rawDb->exec('COMMIT'));
$rawDb->exec('COMMIT');
echo 'Updated to version ' . $currentVersion;
echo PHP_EOL;
}
Expand Down

0 comments on commit 3ce013a

Please sign in to comment.