WIP attachment entity schema update