Changed DB structure - SQLAlchemy