summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbsetup.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbsetup.sql b/dbsetup.sql
index aad5b9a..ad8bfb2 100644
--- a/dbsetup.sql
+++ b/dbsetup.sql
@@ -14,7 +14,7 @@ CREATE TABLE clean_data (
port INT,
volume CHAR(10),
occurences INT,
- UNIQUE idx (ipb_src, ipb_dst, time, port, packet_size)
+ UNIQUE idx (ipb_src, ipb_dst, time, port, volume)
);
DROP TABLE IF EXISTS raw_data;