Open
Description
We need a database module to store things persistently, such as thread state.
Things that need storing:
- Thread metadata (originating message, thread ID, user )
- Thread message data (who wrote, was internal, highest role, message content, reactions? Attachments? )
- Config data (should just be a string/string KVS for now because that's how db config works)
These things should be server-keyed so in the future we can support multiserver if we want.