Maybe it's a stupid question, but I don't know how to connect layer style with database in QGIS.
When I save the style to postgres database in QGIS, it automatically saves the style in the table layer_styles in public scheme.
But when I want to reconnect it to the layer, it shows only all other layer styles without required one and in the window 'styles related to the layer' there is a message "No styles found in the database". Do you know, where the problem could be?