Use management commands rather than SQL in docs (bug #1037118)