Skip to content

Commit

Permalink
Fix incorrect integer for DB schema upgrade for 3.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Feb 14, 2024
1 parent a026de0 commit c310172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/DatabaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function update($id = null, $data = null): bool
include "db_upgrades/db_3.0.1.php";
}

if (intval(config('Openaudit')->internal_version) < 20190810) {
if (intval(config('Openaudit')->internal_version) < 20190401) {
# upgrade for 3.0.2
include "db_upgrades/db_3.0.2.php";
}
Expand Down

0 comments on commit c310172

Please sign in to comment.