aboutsummaryrefslogtreecommitdiffstats
path: root/util/schemaspy
diff options
context:
space:
mode:
authorken restivo <ken@restivo.org>2015-11-08 22:51:58 -0800
committerken restivo <ken@restivo.org>2015-11-08 22:51:58 -0800
commitde9c44fc56064e2536bf2405ee41cdcb772bdd3b (patch)
tree4fd4e61f0c237a0c37a7e782eaf925c3cf8f8584 /util/schemaspy
parent10f7199c633aa20872a567a9ef8ab8373598fdbf (diff)
downloadvolse-hubzilla-de9c44fc56064e2536bf2405ee41cdcb772bdd3b.tar.gz
volse-hubzilla-de9c44fc56064e2536bf2405ee41cdcb772bdd3b.tar.bz2
volse-hubzilla-de9c44fc56064e2536bf2405ee41cdcb772bdd3b.zip
First attempt at auto-generating schemaspy.
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");
+