From 46c774d85fe06905f4f86ba03d7530e0fd01515f Mon Sep 17 00:00:00 2001
From: Daniel Langesten <daniel.langest@gmail.com>
Date: Tue, 3 Mar 2015 14:38:54 +0100
Subject: fixed type-o

---
 dbsetup.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'dbsetup.sql')

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;
-- 
cgit v1.1

