Fixing typos and foreign keys in migrations
Merge pull request #3 from pitr-ch/model

Fixing typos and foreign keys in migrations