Browse code

- new table -- trusted

Jan Janak authored on 15/12/2003 20:27:10
Showing 1 changed files
... ...
@@ -237,7 +237,7 @@ INSERT INTO version VALUES ( 'domain', '1');
237 237
 INSERT INTO version VALUES ( 'uri', '1');
238 238
 INSERT INTO version VALUES ( 'server_monitoring', '1');
239 239
 INSERT INTO version VALUES ( 'server_monitoring_agg', '1');
240
-
240
+INSERT INTO version VALUES ( 'trusted', '1');
241 241
 
242 242
 #
243 243
 # Table structure for table 'acc' -- accounted calls
... ...
@@ -559,10 +559,18 @@ CREATE TABLE preferences (
559 559
 	  
560 560
 
561 561
 #
562
-# Table structure for table 'server_monitoring_agg'
563
-#
562
+# Table structure for table trusted
563
+CREATE TABLE trusted (
564
+  src_ip varchar(39) NOT NULL,
565
+  proto varchar(4) NOT NULL,
566
+  from_pattern varchar(64) NOT NULL,
567
+  PRIMARY KEY (src_ip, proto, from_pattern)
568
+) $TABLE_TYPE;
564 569
 
565 570
 
571
+#
572
+# Table structure for table 'server_monitoring_agg'
573
+#
566 574
 DROP TABLE IF EXISTS server_monitoring_agg;
567 575
 CREATE TABLE server_monitoring_agg (
568 576
   param varchar(32) NOT NULL default '',