Skip to content

Commit 679bfeb

Browse files
committed
fix(TestsTable): use correct db version
1 parent 0cd0d5b commit 679bfeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/tables/class-tests-table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Tests_Table {
66

7-
const DB_VERSION = '1.4';
7+
const DB_VERSION = '1.5';
88
const TABLE_NAME = 'vrts_tests';
99

1010
/**
@@ -40,7 +40,7 @@ public static function install_table() {
4040
);
4141
}
4242

43-
if ( $installed_version && version_compare( $installed_version, '2.0.2', '<' ) ) {
43+
if ( $installed_version && version_compare( $installed_version, '1.5', '<' ) ) {
4444
// phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- It's OK.
4545
$wpdb->query(
4646
// phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- It's OK.

0 commit comments

Comments
 (0)