Commit d3c89642 authored by Martin Straka's avatar Martin Straka

Removed id from zfo table

parent 5a16f817
......@@ -364,9 +364,8 @@ namespace MsgZfoTbl {
{"testEnv", DB_BOOLEAN}, /* NOT NULL */
{"lastAccessTime", DB_INTEGER}, /* NOT NULL*/
{"size", DB_INTEGER}, /* NOT NULL*/
{"data", DB_TEXT}
{"data", DB_TEXT} /* NOT NULL*/
/*
* PRIMARY KEY (id),
* FOREIGN KEY(dmID) REFERENCES messages ("dmID")
*/
};
......@@ -375,7 +374,8 @@ namespace MsgZfoTbl {
{"dmID", "NOT NULL"},
{"testEnv", "NOT NULL"},
{"lastAccessTime", "NOT NULL"},
{"size", "NOT NULL"}
{"size", "NOT NULL"},
{"data", "NOT NULL"}
};
const QString &tblConstraint(
......@@ -385,7 +385,6 @@ namespace MsgZfoTbl {
);
const QMap<QString, SQLiteTbl::AttrProp> attrProps = {
{"id", {DB_INTEGER, ""}},
{"dmID", {DB_INTEGER, ""}},
{"testEnv", {DB_BOOLEAN, ""}},
{"lastAccessTime", {DB_INTEGER, ""}},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment