Ensure models and checkdown.py are referencing same db.
Moved db and app to config file.