changes schema format to sql