summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/print-schema-mysql7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/print-schema-mysql b/bin/print-schema-mysql
new file mode 100755
index 000000000..88245b63e
--- /dev/null
+++ b/bin/print-schema-mysql
@@ -0,0 +1,7 @@
+#!/usr/bin/perl
+
+use DBIx::DBSchema;
+
+$l = load DBIx::DBSchema "/usr/local/etc/freeside/dbdef.DBI:mysql:dbname=freeside";
+
+print $l->pretty_print, "\n";