public static function maybe_uninstall_table( Table $table, \wpdb $wpdb = null ) {

		$wpdb = $wpdb ?: $GLOBALS['wpdb'];

		if ( static::is_table_installed( $table, $wpdb ) ) {

			$tn = $table->get_table_name( $wpdb );

			$wpdb->query( "DROP TABLE IF EXISTS `{$tn}`" );
			static::fire_plugin_event( $table, 'deleted' );

			delete_option( $tn . '_version' );

			return true;
		}

		return false;
	}