improved scripts/extract_mysql_models.py, thanks Andre Kablu