Commit e81e7bd0 authored by Kirk Webb's avatar Kirk Webb

Updated database-create.sql to reflect mysql internal representation for table

iface_counters.

(found with 'mysql -d tbdb' as suggested by Rob.)
parent 739b884b
...@@ -243,12 +243,11 @@ CREATE TABLE groups ( ...@@ -243,12 +243,11 @@ CREATE TABLE groups (
CREATE TABLE iface_counters ( CREATE TABLE iface_counters (
node_id varchar(10) NOT NULL default '', node_id varchar(10) NOT NULL default '',
tstamp datetime NOT NULL default '0000-00-00 00:00:00', tstamp datetime NOT NULL default '0000-00-00 00:00:00',
mac varchar(12) NOT NULL default '000000000000', mac varchar(12) NOT NULL default '0',
ipkts int NOT NULL default '0', ipkts int(11) NOT NULL default '0',
opkts int NOT NULL default '0', opkts int(11) NOT NULL default '0',
PRIMARY KEY (node_id, tstamp, mac) PRIMARY KEY (node_id,tstamp,mac)
) TYPE = MyISAM; ) TYPE=MyISAM;
# #
# Table structure for table 'images' # Table structure for table 'images'
......
Markdown is supported
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