summaryrefslogtreecommitdiff
path: root/create_db.sql
diff options
context:
space:
mode:
Diffstat (limited to 'create_db.sql')
-rw-r--r--create_db.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/create_db.sql b/create_db.sql
index e0fade0..acaf064 100644
--- a/create_db.sql
+++ b/create_db.sql
@@ -2,3 +2,4 @@ CREATE TABLE download(download_id INTEGER PRIMARY KEY ASC,owner INTEGER, size IN
CREATE TABLE category (category_id INTEGER PRIMARY KEY ASC, name text);
CREATE TABLE owner (owner_id INTEGER PRIMARY KEY ASC, name text, quoata INTEGER DEFAULT 100000, quota_used INTEGER DEFAULT 0);
CREATE TABLE seen ( seen_id INTEGER PRIMARY KEY ASC , download INTEGER , user INTEGER);
+CREATE TABLE ip(ip_id INTEGER PRIMARY KEY ASC,owner INTEGER, subnet text, mask INTEGER);