add a helper for generating sql to create a new database