unknown Solanum type flower

unknown Solanum type flower

Observation - unknown Solanum type flower - UK and Ireland. Description: A fair number of plants growing among the Knotgrass and Fat Hen. Each stood about 20-30cm tall. Pinnate leaves, with sharp spines. The flowers look like Potato flowers but when I uprooted an individual, there were no tubers and the leaves and spines are w

A fair number of plants growing among the Knotgrass and Fat Hen. Each stood about 20-30cm tall. Pinnate leaves, with sharp spines. The flowers look like Potato flowers but when I uprooted an individual, there were no tubers and the leaves and spines are wrong for that species. Most of the flowers were white but there were a small number that were a very pale blue. Hope someone can shed some light on the species. Thanks