So I'm trying to understand what piece of information in the database determines attachment visibility. Ultimately I'd like to change how attachments work for personal use so it's harder to agents to accidentally include a public attachment vs one on an internal note. Our use case has tickets that will have internal only attachments at the time of creation.I'll keep poking around in the code but was hoping someone could point me in the right direction. In addition, there doesn't happen to be a database diagram laying around anywhere that shows table relations does there?