return generated sql

fixed to return generated sql when schema definition added or changed, oops.