mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
session: Implemented SessionDB Schema
This commit is contained in:
parent
7f464b8929
commit
4cebfbabad
26
mitmproxy/io/sql/session_create.sql
Normal file
26
mitmproxy/io/sql/session_create.sql
Normal 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
|
||||
);
|
Loading…
Reference in New Issue
Block a user