Update DB version check

[MAILPOET-3953]
This commit is contained in:
Oluwaseun Olorunsola
2021-12-08 13:14:36 +01:00
committed by Veljko V
parent ffd62ee5e7
commit 1d13f8009d

View File

@@ -778,8 +778,8 @@ class Migrator {
private function migratePurchasedInCategoryDynamicFilters(): bool {
global $wpdb;
// skip the migration if the DB version is higher than 3.74.3 or is not set (a new install)
if (version_compare($this->settings->get('db_version', '3.74.3'), '3.74.2', '>')) {
// skip the migration if the DB version is higher than 3.74.4 or is not set (a new install)
if (version_compare($this->settings->get('db_version', '3.74.4'), '3.74.2', '>')) {
return false;
}