aboutsummaryrefslogtreecommitdiffstats
path: root/util/schemaspy
diff options
context:
space:
mode:
Diffstat (limited to 'util/schemaspy')
-rwxr-xr-xutil/schemaspy9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/schemaspy b/util/schemaspy
new file mode 100755
index 000000000..f3641d156
--- /dev/null
+++ b/util/schemaspy
@@ -0,0 +1,9 @@
+#!/usr/bin/env php
+<?php
+
+
+@include("../.htconfig.php");
+
+# -port is useless, ignored
+exec("java -jar schemaSpy_5.0.0.jar -t mysql -host $db_host -port $db_port -db $db_data -u $db_user -p $db_pass -dp mysql-connector-java-5.1.17.jar -meta zot.xml -o hubzilla_er");
+