I refactor code to use repository pattern. I allow me to add support for database migrations. I include also few another small changes.
If you have existing database then you need manually perform migration to 5 revision. After it you can use "migrate-db.py" script. If you have empty database then you may to fire this script without any additional action.
I refactor code to use repository pattern. I allow me to add support for database migrations. I include also few another small changes.
If you have existing database then you need manually perform migration to 5 revision. After it you can use "migrate-db.py" script. If you have empty database then you may to fire this script without any additional action.
Related issues:
20 - last observation is now computed.
25 - highlight works
32 - DB migrations added
36 - I add a script for perform migration.