aboutsummaryrefslogtreecommitdiff
path: root/buildtools/graphviz-sql.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-12-06 22:20:43 +0000
committerRob Austein <sra@hactrn.net>2011-12-06 22:20:43 +0000
commit33f8bf22f6849b90f8f53b329392f2ab69dbf1fc (patch)
tree41f96def0b74fd184f7f2eae4e267e45a13f7dde /buildtools/graphviz-sql.sh
parent2b96dc14bd03587993321bab22186036c23aa0af (diff)
Fix graphic on NULL-allowed foreign key constraint
svn path=/trunk/; revision=4099
Diffstat (limited to 'buildtools/graphviz-sql.sh')
-rw-r--r--buildtools/graphviz-sql.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/graphviz-sql.sh b/buildtools/graphviz-sql.sh
index 21a81146..d8833ed1 100644
--- a/buildtools/graphviz-sql.sh
+++ b/buildtools/graphviz-sql.sh
@@ -37,5 +37,6 @@ SOURCE="$1" perl -0777 -pe '
s/\|\\}/}/g;
s/{\n/{\n\tedge [arrowtail=none, arrowhead=crow];\n/;
s/\[arrowhead=normal\]/[arrowtail=none, arrowhead=crow]/g;
+ s/\[arrowhead=empty\]/[arrowtail=none, arrowhead=oinv]/g;
s=^=// Automatically generated from $ENV{SOURCE}\n\n=;
'