<s> from migrate . versioning import api <EOL> from config import SQLALCHEMY_DATABASE_URI <EOL> from config import SQLALCHEMY_MIGRATE_REPO <EOL> api . upgrade ( SQLALCHEMY_DATABASE_URI , SQLALCHEMY_MIGRATE_REPO ) <EOL> print '<STR_LIT>' + str ( api . db_version ( SQLALCHEMY_DATABASE_URI , SQLALCHEMY_MIGRATE_REPO ) ) </s>
