Renamed key field to item_key to avoid syntax issues with MySQL