Fixed syncdb
Merge pull request #128 from iammisc/feature/128-allow-syncdb

syncdb doesn't work from a blank database