This commit is contained in:
Ibnu Maksum 2023-08-16 09:25:15 +07:00
parent b315e3dba1
commit 6f6fc05d16
No known key found for this signature in database
GPG key ID: 7FC82848810579E5

View file

@ -103,7 +103,11 @@ if (empty($step)) {
foreach ($updates as $version => $queries) {
if (!in_array($version, $dones)) {
foreach ($queries as $q) {
$dbh->exec($q);
try{
$db->exec($q);
}catch(PDOException $e){
//ignore, it exists already
}
}
$dones[] = $version;
}