session: Implemented SessionDB Schema

This commit is contained in:
madt1m 2018-07-20 16:56:26 +02:00
parent 7f464b8929
commit 4cebfbabad
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
CREATE TABLE FLOW (
FID INTEGER PRIMARY KEY,
MID INTEGER,
BID INTEGER,
CONTENT BLOB
);
CREATE TABLE META (
MID INTEGER PRIMARY KEY,
INTERCEPTED INTEGER,
MARKED INTEGER,
MODE VARCHAR(20)
);
CREATE TABLE BODY (
BID INTEGER,
BREQ BLOB,
BRES BLOB
);
CREATE TABLE ANNOTATION (
AID INTEGER PRIMARY KEY,
FID INTEGER,
TYPE VARCHAR(20),
CONTENT BLOB
);