migration to flask-sqlalchemy (V)