manage.py db create was throwing error: AssertionError: The sqlalchemy e...

...xtension was not registered to the current application.  Please make sure to call init_app() first. This solved it.