So I had to look into the XF's attachment thingy for my "Kraken" add-on. There are a couple of questions I couldn't find an answer: Why XenForo has xf_attachment and xf_attachment_data? Wouldn't one table have sufficed? Is data_id is unique to one attachment_id or one data_id can be associated with more than one attachment_id and vice versa? Thanks!