Changed python models and wrote migration
Added hour constraint to migration
PEP8.
Make: Give migrate_db proper name.
Merge branch 'single-primary-key-for-items'