From f01e70781c9f6934213eac7f101db6c002a9565d Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 24 Sep 2007 06:08:16 +0000 Subject: Comments svn path=/scripts/graphviz-sql.sh; revision=1014 --- scripts/graphviz-sql.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3