Database storage of messages (1)