Fix the schema-setup guard.

The previous commit added a not_if guard to prevent schema init if the database
already exists, but it performed the check *after* database creation... breaking
new deploys.  This updates the not_if guard so the test occurs prior to db creation
so new deploys get the schema created whereas existing db's are left untouched.