diff --git a/output/dot/templates/schema.dot.tmpl b/output/dot/templates/schema.dot.tmpl
index c6b949dd..a4c2ab4e 100644
--- a/output/dot/templates/schema.dot.tmpl
+++ b/output/dot/templates/schema.dot.tmpl
@@ -12,7 +12,7 @@ digraph "{{ .Schema.Name }}" {
{{ $t.Name | html }} [{{ $t.Type | html }}]{{ if $sc }}{{ if ne $t.Comment "" }} {{ $t.Comment | html | nl2br_slash }}{{ end }}{{ end }} |
{{- range $ii, $c := $t.Columns }}
{{- if $c.HideForER }}{{ continue }}{{ end }}
- {{ $c.Name | html }} [{{ $c.Type | html }}]{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }} |
+ {{ $c.Name | html }} [{{ $c.Type | html }}]{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }} |
{{- end }}
>];
{{- end }}
diff --git a/output/dot/templates/table.dot.tmpl b/output/dot/templates/table.dot.tmpl
index 91839fcb..ce69712f 100644
--- a/output/dot/templates/table.dot.tmpl
+++ b/output/dot/templates/table.dot.tmpl
@@ -16,10 +16,10 @@ digraph "{{ .Table.Name }}" {
>];
{{- range $i, $t := .Tables }}
"{{ $t.Name }}" [shape=none, label=<
- {{ $t.Name | html }} [{{ $t.Type | html }}]{{ if $sc }}{{ if ne $t.Comment "" }} {{ $t.Comment | html | nl2br_slash }}{{ end }}{{ end }} |
+ {{ $t.Name | html }} [{{ $t.Type | html }}]{{ if $sc }}{{ if ne $t.Comment "" }} {{ $t.Comment | html | nl2br_slash }}{{ end }}{{ end }} |
{{- range $ii, $c := $t.Columns }}
{{- if $c.HideForER }}{{ continue }}{{ end }}
- {{ $c.Name | html }} [{{ $c.Type | html }}]{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }} |
+ {{ $c.Name | html }} [{{ $c.Type | html }}]{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }} |
{{- end }}
>];
{{- end }}
diff --git a/sample/adjust/README.md b/sample/adjust/README.md
index d7637f5a..3a16fed1 100644
--- a/sample/adjust/README.md
+++ b/sample/adjust/README.md
@@ -29,6 +29,7 @@ Sample PostgreSQL database document.
| Name | ReturnType | Arguments | Type |
| ------------------------- | ---------- | ------------------------- | --------- |
+| public.reset_comment | void | IN comment_id integer | PROCEDURE |
| public.uuid_nil | uuid | | FUNCTION |
| public.uuid_ns_dns | uuid | | FUNCTION |
| public.uuid_ns_url | uuid | | FUNCTION |
@@ -40,7 +41,6 @@ Sample PostgreSQL database document.
| public.uuid_generate_v4 | uuid | | FUNCTION |
| public.uuid_generate_v5 | uuid | namespace uuid, name text | FUNCTION |
| public.update_updated | trigger | | FUNCTION |
-| public.reset_comment | void | IN comment_id integer | PROCEDURE |
## Relations
diff --git a/sample/adjust/administrator.blogs.svg b/sample/adjust/administrator.blogs.svg
index 867b67ae..504935c3 100644
--- a/sample/adjust/administrator.blogs.svg
+++ b/sample/adjust/administrator.blogs.svg
@@ -40,35 +40,35 @@
public.users
-
-
-public.users
-
-[BASE TABLE]
-
-id
-[integer]
-
-username
-[varchar(50)]
-
-password
-[varchar(50)]
-
-email
-[varchar(355)]
-
-created
-[timestamp without time zone]
-
-updated
-[timestamp without time zone]
+
+
+public.users
+
+[BASE TABLE]
+
+id
+[integer]
+
+username
+[varchar(50)]
+
+password
+[varchar(50)]
+
+email
+[varchar(355)]
+
+created
+[timestamp without time zone]
+
+updated
+[timestamp without time zone]
administrator.blogs:user_id->public.users:id
-
-
+
+
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE
diff --git a/sample/adjust/backup.blog_options.svg b/sample/adjust/backup.blog_options.svg
index 2243bdf3..858a77bc 100644
--- a/sample/adjust/backup.blog_options.svg
+++ b/sample/adjust/backup.blog_options.svg
@@ -34,32 +34,32 @@
backup.blogs
-
-
-backup.blogs
-
-[BASE TABLE]
-
-id
-[integer]
-
-user_id
-[integer]
-
-dump
-[text]
-
-created
-[timestamp without time zone]
-
-updated
-[timestamp without time zone]
+
+
+backup.blogs
+
+[BASE TABLE]
+
+id
+[integer]
+
+user_id
+[integer]
+
+dump
+[text]
+
+created
+[timestamp without time zone]
+
+updated
+[timestamp without time zone]
backup.blog_options:blog_id->backup.blogs:id
-
-
+
+
FOREIGN KEY (blog_id) REFERENCES blogs(id) ON DELETE CASCADE
diff --git a/sample/adjust/backup.blogs.svg b/sample/adjust/backup.blogs.svg
index c0728a48..5a3cc1ea 100644
--- a/sample/adjust/backup.blogs.svg
+++ b/sample/adjust/backup.blogs.svg
@@ -4,62 +4,62 @@
-