|
Server : LiteSpeed System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64 User : gazetufm ( 1431) PHP Version : 8.1.35 Disable Function : NONE Directory : /home2/gazetufm/dumoshi.com/wp-content/plugins/wpforms-lite/src/Migrations/ | |
|
Path: //home2/gazetufm/dumoshi.com/wp-content/plugins/wpforms-lite/src/Migrations/Upgrade2_0_2_1.php
Size: 852 B
Permissions: 0644
<?php
namespace WPForms\Migrations;
use WPForms\Helpers\DB;
/**
* Class upgrade for the 2.0.2.1 release.
*
* The release adds the product events queue table to the custom-tables
* registry. The registry creates missing tables only while a migration for the
* running version is due, so without a class for this version an upgraded site
* would keep buffering into a table that does not exist until someone opened
* Settings > General.
*
* @since 2.0.2.1
*
* @noinspection PhpUnused
*/
class Upgrade2_0_2_1 extends UpgradeBase {
/**
* Run upgrade.
*
* @since 2.0.2.1
*
* @return bool
*/
public function run(): bool {
// Tables are created by the self-healing custom-tables registry. This
// also covers fresh installs where this migration is version-gated out.
DB::create_custom_tables( true );
return true;
}
}