Also try to update table structure when verifying DB
This commit is contained in:
parent
9c5b72a572
commit
c23300c7cb
|
@ -553,7 +553,8 @@ class WC_REST_System_Status_Tools_V2_Controller extends WC_REST_Controller {
|
|||
$ran = false;
|
||||
break;
|
||||
}
|
||||
$missing_tables = WC_Install::verify_base_tables();
|
||||
// Try to manually create table again.
|
||||
$missing_tables = WC_Install::verify_base_tables( true, true );
|
||||
if ( 0 === count( $missing_tables ) ) {
|
||||
$message = __( 'Database verified successfully.', 'woocommerce-rest-api' );
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue