aboutsummaryrefslogtreecommitdiff
path: root/scripts/graphviz-sql.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-09-24 06:08:16 +0000
committerRob Austein <sra@hactrn.net>2007-09-24 06:08:16 +0000
commitf01e70781c9f6934213eac7f101db6c002a9565d (patch)
tree218f917b61cebc03efa2535feec9944cc74b0820 /scripts/graphviz-sql.sh
parent94e6fff7963cbc9940cb7491d593cacd9f6f8218 (diff)
Comments
svn path=/scripts/graphviz-sql.sh; revision=1014
Diffstat (limited to 'scripts/graphviz-sql.sh')
-rw-r--r--scripts/graphviz-sql.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/scripts/graphviz-sql.sh b/scripts/graphviz-sql.sh
index e46cdd37..a338404a 100644
--- a/scripts/graphviz-sql.sh
+++ b/scripts/graphviz-sql.sh
@@ -1,15 +1,14 @@
#!/bin/sh -
# $Id$
-
+#
# This uses the SQL::Translator package (aka "SQL Fairy") to parse
# an SQL schema and graph the result via GraphViz.
#
-# SQL::Translator appears to be pretty good at analyzing SQL. It's not
-# so hot at generating the "dot" language, or maybe it's just that
-# the Perl GraphViz module is buggy, but the simplest solution is just
-# to whack sqlt-graph's broken output into shape.
-
-# Bugs: this assumes that SQL::Translate always draws edges one->many.
+# SQL::Translator appears to be pretty good at analyzing SQL, but is
+# badly confused about how to format record labels in the "dot"
+# language. Simplest solution for now is just to whack sqlt-graph's
+# broken output into shape, in the long run I should send the author a
+# patch.
for i in *.sql
do