projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ 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";