port Sqlite to MySql
sqlalchemy object relationship ok