Row-based multi-tenancy for SQLAlchemy