dump database structure.