boolean saveSql ( optional string $filename = './schema.sql' )
Saves the current SQL array to the local filesystem as a list of SQL queries.
Call this method to save the array of SQL queries (generally resulting from a parsed XML schema) to the filesystem. The function returns a boolean indicating success or failure of the save
It is important to remember that the file is save on the server where the php command was executed, not on the local workstation.