ensure we’re only running checks for `wc_reserved_stock` table when necessary (https://github.com/woocommerce/woocommerce-blocks/pull/2895)
This commit is contained in:
parent
21b7637ef5
commit
aef46f57e8
|
@ -43,7 +43,7 @@ class Installer {
|
|||
$schema_version = 260;
|
||||
$db_schema_version = (int) get_option( 'wc_blocks_db_schema_version', 0 );
|
||||
|
||||
if ( $db_schema_version > $schema_version ) {
|
||||
if ( $db_schema_version >= $schema_version && 0 !== $db_schema_version ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue