docs: adapt docs to changes in files.

(cherry picked from commit 6f9f1ab843f7212755bac9eead70e0bcc4bb6a22)
core: fix specs in z_db.

(cherry picked from commit 9679dd275ce8c42466a0339721e9ab7a6b5e746a)