* Changed scan check to use new System state_flags0 meta to skip already imported/exported msgs

* Use moment.js for Message modTimestamp
* Remove user_message_status stuff
* Add REPLY kludge support @ export
* Use TID vs PID kludge @ export (spec)
* Start work on @immediate - nearly complete
This commit is contained in:
Bryan Ashby 2016-03-14 22:29:41 -06:00
parent a787a2eab3
commit 964c53ea9f
4 changed files with 165 additions and 97 deletions

View file

@ -203,17 +203,6 @@ function createMessageBaseTables() {
' UNIQUE(user_id, area_tag)' +
');'
);
// :TODO: Not currently used
dbs.message.run(
'CREATE TABLE IF NOT EXISTS user_message_status (' +
' user_id INTEGER NOT NULL,' +
' message_id INTEGER NOT NULL,' +
' status INTEGER NOT NULL,' +
' UNIQUE(user_id, message_id, status),' +
' FOREIGN KEY(user_id) REFERENCES user(id)' +
');'
);
dbs.message.run(
`CREATE TABLE IF NOT EXISTS message_area_last_scan (