fix upgrade script
This commit is contained in:
@@ -86,9 +86,9 @@ class BeforeUpgrade
|
||||
if ($extension) {
|
||||
$version = $extension->get('version');
|
||||
|
||||
if (version_compare($version, '1.5.0', '<')) {
|
||||
if (version_compare($version, '1.4.0', '<')) {
|
||||
$message =
|
||||
"EspoCRM 6.0.0 is not compatible with Real Estate extension of a version lower than 1.5.0. " .
|
||||
"EspoCRM 6.0.0 is not compatible with Real Estate extension of a version lower than 1.4.0. " .
|
||||
"Please upgrade the extension or uninstall it. Then run the upgrade command again.";
|
||||
|
||||
throw new Error($message);
|
||||
|
||||
Reference in New Issue
Block a user