aboutsummaryrefslogtreecommitdiff
path: root/scripts/graphviz-sql.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/graphviz-sql.sh')
-rw-r--r--scripts/graphviz-sql.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/graphviz-sql.sh b/scripts/graphviz-sql.sh
index e52fda79..3a9bfa0d 100644
--- a/scripts/graphviz-sql.sh
+++ b/scripts/graphviz-sql.sh
@@ -15,7 +15,7 @@ for i in "$@"
do
sqlt-graph --db MySQL --output-type canon --show-datatypes --show-constraints $i |
perl -0777 -pe '
- s/\\\n/ /g;
+ s/\\\n//g;
s/ +/ /g;
s/\\\|/|/g;
s/\\{([a-z0-9_]+)\|/${1}|{/gi;