![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/walla3t.corals.io/wp-content/plugins/wpforms-lite/src/Migrations/ |
<?php namespace WPForms\Migrations; /** * Class v1.5.9 upgrade. * * @since 1.7.5 * * @noinspection PhpUnused */ class Upgrade159 extends UpgradeBase { /** * Create tasks_meta table. * * @since 1.7.5 * * @return bool|null Upgrade result: * true - the upgrade completed successfully, * false - in the case of failure, * null - upgrade started but not yet finished (background task). */ public function run() { $meta = wpforms()->get( 'tasks_meta' ); if ( ! $meta ) { return false; } // Create the table if it doesn't exist. if ( ! $meta->table_exists() ) { $meta->create_table(); } return true; } }