Jeff 5 жил өмнө
parent
commit
60f3eb5ebd

+ 1 - 2
TCL Copy Tool/TCL Copy Tool/db.cpp

@@ -9,8 +9,7 @@
 (url  TEXT NOT NULL,\
 content  TEXT NOT NULL, \
 gener_date  DATETIME NOT NULL DEFAULT current_timestamp,\
-report_date  DATETIME NOT NULL DEFAULT '',\
-PRIMARY KEY (url, content));"
+report_date  DATETIME NOT NULL DEFAULT '');"
 #define _SELECT_REPORT_TABLE_ "SELECT url, content, report_status FROM report"
 #define _INSERT_REPORT_TABLE_ "INSERT INTO report(url, content, report_status) VALUES (%s, %s, %s);"