Skip to content

Commit

Permalink
fix(TestsTable): use correct db version
Browse files Browse the repository at this point in the history
  • Loading branch information
harunbleech committed Nov 28, 2024
1 parent 0cd0d5b commit 679bfeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/tables/class-tests-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Tests_Table {

const DB_VERSION = '1.4';
const DB_VERSION = '1.5';
const TABLE_NAME = 'vrts_tests';

/**
Expand Down Expand Up @@ -40,7 +40,7 @@ public static function install_table() {
);
}

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

0 comments on commit 679bfeb

Please sign in to comment.