Correcting action-item.proto and adding seg_no processing in action log API
diff --git a/src/db-helper.cc b/src/db-helper.cc
index 4313dfd..82feb89 100644
--- a/src/db-helper.cc
+++ b/src/db-helper.cc
@@ -144,7 +144,7 @@
NEW.device_id, NEW.seq_no, \
NEW.action,NEW.filename,NEW.file_hash, \
strftime('%s', NEW.file_atime),strftime('%s', NEW.file_mtime),strftime('%s', NEW.file_ctime), \
- NEW.file_chmod); /* function that applies action and adds record the FileState */ \n \
+ NEW.file_chmod, NEW.file_seg_num); /* function that applies action and adds record the FileState */ \n \
END; \n\
\n\
CREATE TABLE FileState ( \n\
@@ -157,6 +157,7 @@
file_mtime TIMESTAMP, \n\
file_ctime TIMESTAMP, \n\
file_chmod INTEGER, \n\
+ file_seg_num INTEGER, \n\
\n\
PRIMARY KEY (type, filename) \n\
); \n\