Sometimes the attachment itself is not stored in the database but rather the path to where that attachment resides in the file system.
In the example above, the messages table stores datetime stamps, message body, file path information, and type of message, among other attributes. Within the messages table, the “extra_uri” column contains the path to the original image/audio/video attachment that was delivered as part of the message.