add foreign key for tool-usermessages relationship
Merge branch 'develop'