Revert "Don't need all the db commands since syncdb does it all in non interactive mode"

This reverts commit 263d123ef609eef3a6bda460fc458785af3c2e1d.