Commit 6e9c0876 authored by Robert Ricci's avatar Robert Ricci
Browse files

Added the widearea_recent table, which will contain a more recent

version of the data in widearea_delays . Schema for the two are
identical.

Also cleaned up the schema for both tables, so that they have proper
primary keys, etc.
parent 846601cf
...@@ -980,12 +980,29 @@ CREATE TABLE webdb_table_permissions ( ...@@ -980,12 +980,29 @@ CREATE TABLE webdb_table_permissions (
CREATE TABLE widearea_delays ( CREATE TABLE widearea_delays (
IP1 varchar(15) default NULL, IP1 varchar(15) default NULL,
IP2 varchar(15) default NULL, IP2 varchar(15) default NULL,
time double unsigned default NULL, time double default NULL,
node_id1 text, node_id1 varchar(10) NOT NULL default '',
iface1 text, iface1 varchar(10) NOT NULL default '',
node_id2 varchar(10) default NULL, node_id2 varchar(10) NOT NULL default '',
iface2 text, iface2 varchar(10) NOT NULL default '',
bandwidth double unsigned default NULL bandwidth double default NULL,
PRIMARY KEY (node_id1,iface1,node_id2,iface2)
) TYPE=MyISAM;
#
# Table structure for table 'widearea_recent'
#
CREATE TABLE widearea_recent (
IP1 varchar(15) default NULL,
IP2 varchar(15) default NULL,
time double default NULL,
node_id1 varchar(10) NOT NULL default '',
iface1 varchar(10) NOT NULL default '',
node_id2 varchar(10) NOT NULL default '',
iface2 varchar(10) NOT NULL default '',
bandwidth double default NULL,
PRIMARY KEY (node_id1,iface1,node_id2,iface2)
) TYPE=MyISAM; ) TYPE=MyISAM;
# #
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment