generate documentation + db diagram