Fixed syncdb function, supporting production.conf
Merge pull request #21 from shonenada/hotfix/syncdb

Fixed syncdb function, supporting production.conf