[#3] Check current revision and run migration upgrade if None
Read DB_AUTO_UPGRADE env variable and run upgrade if the database is not at the latest revision.
Note: docker-composer project will introduce DB_AUTO_UPGRADE env variable! Issue: seta/v3/composer/docker-compose#1 (closed)