Update extract_mysql_models.py

Better script to get enum and primary keys for legacy mysql tables