getTablesSchema(); foreach ($schemas as $schemaSql) { dbDelta($schemaSql); } update_option(self::DB_VERSION_OPTION, self::CURRENT_DB_VERSION); } }