aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-09 14:56:53 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-09 14:56:53 -0800
commitcda8fb338068ff8d5393580ee0cb15f8b080fb6f (patch)
treeeaf686fab3c1ae66d954b1eda271c13732aa9cf3 /util
parent862a31007543c292ba3bcd6d56e390d83c1043be (diff)
parent98146eae076a7eff315c4927ad1fc2ee2a06ade8 (diff)
downloadvolse-hubzilla-cda8fb338068ff8d5393580ee0cb15f8b080fb6f.tar.gz
volse-hubzilla-cda8fb338068ff8d5393580ee0cb15f8b080fb6f.tar.bz2
volse-hubzilla-cda8fb338068ff8d5393580ee0cb15f8b080fb6f.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'util')
-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..fdae74965
--- /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 .");
+