adding some old random tools from the CVS tree
[freeside.git] / bin / print-schema-mysql
diff --git a/bin/print-schema-mysql b/bin/print-schema-mysql
new file mode 100755 (executable)
index 0000000..88245b6
--- /dev/null
@@ -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";