script to dump db schema.