initial version of diary data model and migrations