@ db: updated
@ core/db/models/note.php: a fix