mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* 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:
parent
a787a2eab3
commit
964c53ea9f
4 changed files with 165 additions and 97 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue