Ajout de la table de dump

darcs-hash:20051118163709-6d78a-af78e695744c8d94b454d7d1fd42fca7a330e39d.gz
This commit is contained in:
pessoles 2005-11-18 17:37:09 +01:00
parent 4e3234d762
commit 87c698c125

View file

@ -55,6 +55,19 @@ CREATE TABLE flood (
upload bigint NOT NULL, upload bigint NOT NULL,
CONSTRAINT upload_protocole FOREIGN KEY (id) REFERENCES protocole (id)); CONSTRAINT upload_protocole FOREIGN KEY (id) REFERENCES protocole (id));
-- Table dump : date | source | destinataire | protocole | port source | port dest | download | upload
CREATE TABLE dump (
date timestamp NOT NULL,
ip_crans inet NOT NULL,
ip_ext inet NOT NULL,
id integer NOT NULL,
port_crans integer NOT NULL,
port_ext integer NOT NULL,
download bigint NOT NULL,
upload bigint NOT NULL,
CONSTRAINT upload_protocole FOREIGN KEY (id) REFERENCES protocole (id));
-- Table p2p : date | source | destinataire | protocole p2p | port source | port dest -- Table p2p : date | source | destinataire | protocole p2p | port source | port dest
CREATE TABLE p2p ( CREATE TABLE p2p (
date timestamp NOT NULL, date timestamp NOT NULL,