Add migration to update attachments table