Drupal hook_schema Generation From MySQL Schema Script
The purpose of this script is very simple.
Take the structure of a MySQL database and convert it into a friendly, PHP conversion to work with Drupal's hook_schema mechanism. Currently it is proven to work on Drupal 6 but it needs more work and conversion to Drupal 7. I will maintain this, but I welcome patches and contributions.
Michael R. Bagnall: firstname.lastname@example.org