Added a way to generate sql to create a database