diff options
author | Rob Austein <sra@hactrn.net> | 2007-09-24 06:08:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-09-24 06:08:16 +0000 |
commit | f01e70781c9f6934213eac7f101db6c002a9565d (patch) | |
tree | 218f917b61cebc03efa2535feec9944cc74b0820 /scripts/graphviz-sql.sh | |
parent | 94e6fff7963cbc9940cb7491d593cacd9f6f8218 (diff) |
Comments
svn path=/scripts/graphviz-sql.sh; revision=1014
Diffstat (limited to 'scripts/graphviz-sql.sh')
-rw-r--r-- | scripts/graphviz-sql.sh | 13 |
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 |