update_db_version() public static method

Update DB version to current.
public static update_db_version ( string $version = null )
$version string
 /**
  * Complete
  *
  * Override if applicable, but ensure that the below actions are
  * performed, or, call parent::complete().
  */
 protected function complete()
 {
     $logger = new WC_Logger();
     $logger->add('wc_db_updates', 'Data update complete');
     WC_Install::update_db_version();
     parent::complete();
 }
function wc_update_260_db_version()
{
    WC_Install::update_db_version('2.6.0');
}