diff options
author | ivan <ivan> | 2005-12-15 18:45:11 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-12-15 18:45:11 +0000 |
commit | 5031220825de2900d4ff217d1892748fe0bf1ec4 (patch) | |
tree | 83f1e6694ff172897b89f894928604bfe0c6f755 /bin/print-schema | |
parent | 0f37b9c32e41fd94a0d5ea2f895a737cf674f310 (diff) |
adding print-schema
Diffstat (limited to 'bin/print-schema')
-rwxr-xr-x | bin/print-schema | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/print-schema b/bin/print-schema new file mode 100755 index 000000000..886e3250b --- /dev/null +++ b/bin/print-schema @@ -0,0 +1,7 @@ +#!/usr/bin/perl + +use DBIx::DBSchema; + +$l = load DBIx::DBSchema "/usr/local/etc/freeside/dbdef.DBI:Pg:dbname=freeside"; + +print $l->pretty_print, "\n"; |