adds as related columns to the php code

This commit is contained in:
Mateusz Zawisza 2012-08-18 12:50:36 +02:00 committed by Johannes Dewender
parent e8565136a9
commit ad381404c6
3 changed files with 3 additions and 1 deletions

View File

@ -442,6 +442,8 @@ function setupMySQL()
"`peer_id` binary(20) NOT NULL," . "`peer_id` binary(20) NOT NULL," .
"`compact` binary(6) NOT NULL," . "`compact` binary(6) NOT NULL," .
"`ip` char(15) NOT NULL," . "`ip` char(15) NOT NULL," .
"`as_code` varchar(255) NOT NULL," .
"`country` varchar(255) NOT NULL," .
"`port` smallint(5) unsigned NOT NULL," . "`port` smallint(5) unsigned NOT NULL," .
"`state` tinyint(1) unsigned NOT NULL DEFAULT '0'," . "`state` tinyint(1) unsigned NOT NULL DEFAULT '0'," .
"`updated` int(10) unsigned NOT NULL," . "`updated` int(10) unsigned NOT NULL," .

View File

@ -24,7 +24,7 @@
// Configuration /////////////////////////////////////////////////////////////////////////////////// // Configuration ///////////////////////////////////////////////////////////////////////////////////
// tracker state // tracker state
require '../mysql.config.php'; require 'mysql.config.php';
// Tracker Operations ////////////////////////////////////////////////////////////////////////////// // Tracker Operations //////////////////////////////////////////////////////////////////////////////