Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 424ded9

Browse files
committed
Also try to update table structure when verifying DB
1 parent 3e709b9 commit 424ded9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@ public function execute_tool( $tool ) {
553553
$ran = false;
554554
break;
555555
}
556-
$missing_tables = WC_Install::verify_base_tables();
556+
// Try to manually create table again.
557+
$missing_tables = WC_Install::verify_base_tables( true, true );
557558
if ( 0 === count( $missing_tables ) ) {
558559
$message = __( 'Database verified successfully.', 'woocommerce-rest-api' );
559560
} else {

0 commit comments

Comments
 (0)