Fix migrations running on fresh DB
Fix automatic generation of indexes on fresh db
Merge branch 'master' of github.com:gousiosg/github-mirror
Merge branch 'master' of github.com:gousiosg/github-mirror
Merge branch 'master' of github.com:gousiosg/github-mirror
Merge branch 'master' of github.com:gousiosg/github-mirror
Merge branch 'master' of github.com:gousiosg/github-mirror
Make commit comment storage easier to retrieve.

Also, fix issue with commit comment user being the
repository owner.
Fix pull request redefinition signature
Merge branch 'master' of github.com:gousiosg/github-mirror
Script to fix various commit comment problems
Make scripts executable
Merge pull request #3 from gousiosg/master

latest from upstream