ddl-generator This repo has a python script that generates the complete ddl from system tables for any kind of database.