adding quickfix
This commit is contained in:
15
quickfix/_sql/sqlite3/event_log_table.sql
Normal file
15
quickfix/_sql/sqlite3/event_log_table.sql
Normal file
@ -0,0 +1,15 @@
|
||||
DROP TABLE IF EXISTS event_log;
|
||||
|
||||
CREATE TABLE event_log (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
time DATETIME NOT NULL,
|
||||
beginstring CHAR(8) NOT NULL,
|
||||
sendercompid VARCHAR(64) NOT NULL,
|
||||
sendersubid VARCHAR(64) NOT NULL,
|
||||
senderlocid VARCHAR(64) NOT NULL,
|
||||
targetcompid VARCHAR(64) NOT NULL,
|
||||
targetsubid VARCHAR(64) NOT NULL,
|
||||
targetlocid VARCHAR(64) NOT NULL,
|
||||
session_qualifier VARCHAR(64),
|
||||
text TEXT NOT NULL
|
||||
);
|
||||
15
quickfix/_sql/sqlite3/messages_log_table.sql
Normal file
15
quickfix/_sql/sqlite3/messages_log_table.sql
Normal file
@ -0,0 +1,15 @@
|
||||
DROP TABLE IF EXISTS messages_log;
|
||||
|
||||
CREATE TABLE messages_log (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
time DATETIME NOT NULL,
|
||||
beginstring CHAR(8) NOT NULL,
|
||||
sendercompid VARCHAR(64) NOT NULL,
|
||||
sendersubid VARCHAR(64) NOT NULL,
|
||||
senderlocid VARCHAR(64) NOT NULL,
|
||||
targetcompid VARCHAR(64) NOT NULL,
|
||||
targetsubid VARCHAR(64) NOT NULL,
|
||||
targetlocid VARCHAR(64) NOT NULL,
|
||||
session_qualifier VARCHAR(64) NOT NULL,
|
||||
text TEXT NOT NULL
|
||||
);
|
||||
17
quickfix/_sql/sqlite3/messages_table.sql
Normal file
17
quickfix/_sql/sqlite3/messages_table.sql
Normal file
@ -0,0 +1,17 @@
|
||||
DROP TABLE IF EXISTS messages;
|
||||
|
||||
CREATE TABLE messages (
|
||||
beginstring CHAR(8) NOT NULL,
|
||||
sendercompid VARCHAR(64) NOT NULL,
|
||||
sendersubid VARCHAR(64) NOT NULL,
|
||||
senderlocid VARCHAR(64) NOT NULL,
|
||||
targetcompid VARCHAR(64) NOT NULL,
|
||||
targetsubid VARCHAR(64) NOT NULL,
|
||||
targetlocid VARCHAR(64) NOT NULL,
|
||||
session_qualifier VARCHAR(64) NOT NULL,
|
||||
msgseqnum INT NOT NULL,
|
||||
message TEXT NOT NULL,
|
||||
PRIMARY KEY (beginstring, sendercompid, sendersubid, senderlocid,
|
||||
targetcompid, targetsubid, targetlocid, session_qualifier,
|
||||
msgseqnum)
|
||||
);
|
||||
17
quickfix/_sql/sqlite3/sessions_table.sql
Normal file
17
quickfix/_sql/sqlite3/sessions_table.sql
Normal file
@ -0,0 +1,17 @@
|
||||
DROP TABLE IF EXISTS sessions;
|
||||
|
||||
CREATE TABLE sessions (
|
||||
beginstring CHAR(8) NOT NULL,
|
||||
sendercompid VARCHAR(64) NOT NULL,
|
||||
sendersubid VARCHAR(64) NOT NULL,
|
||||
senderlocid VARCHAR(64) NOT NULL,
|
||||
targetcompid VARCHAR(64) NOT NULL,
|
||||
targetsubid VARCHAR(64) NOT NULL,
|
||||
targetlocid VARCHAR(64) NOT NULL,
|
||||
session_qualifier VARCHAR(64) NOT NULL,
|
||||
creation_time DATETIME NOT NULL,
|
||||
incoming_seqnum INT NOT NULL,
|
||||
outgoing_seqnum INT NOT NULL,
|
||||
PRIMARY KEY (beginstring, sendercompid, sendersubid, senderlocid,
|
||||
targetcompid, targetsubid, targetlocid, session_qualifier)
|
||||
);
|
||||
Reference in New Issue
Block a user