Added attachments to the bug. Fixed the attachments table schema.