Skip to content

Commit

Permalink
Add more workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Apr 3, 2023
1 parent 305646a commit ef73cf9
Show file tree
Hide file tree
Showing 151 changed files with 12,108 additions and 12,108 deletions.
2 changes: 1 addition & 1 deletion output/dot/templates/schema.dot.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ digraph "{{ .Schema.Name }}" {
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">{{ $t.Name | html }}</font>&nbsp;&nbsp;&nbsp;&nbsp;<font color="#666666">[{{ $t.Type | html }}]</font>{{ if $sc }}{{ if ne $t.Comment "" }}<br /><font color="#333333">{{ $t.Comment | html | nl2br_slash }}</font>{{ end }}{{ end }}</td></tr>
{{- range $ii, $c := $t.Columns }}
{{- if $c.HideForER }}{{ continue }}{{ end }}
<tr><td port="{{ $c.Name | html }}" align="left">{{ $c.Name | html }} <font color="#666666">[{{ $c.Type | html }}]</font>{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }}</td></tr>
<tr><td port="{{ $c.Name | html }}" align="left">{{ $c.Name | html }}&nbsp;&nbsp;&nbsp;&nbsp;<font color="#666666">[{{ $c.Type | html }}]</font>{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }}</td></tr>
{{- end }}
</table>>];
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions output/dot/templates/table.dot.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ digraph "{{ .Table.Name }}" {
</table>>];
{{- range $i, $t := .Tables }}
"{{ $t.Name }}" [shape=none, label=<<table border="0" cellborder="1" cellspacing="0" cellpadding="6">
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">{{ $t.Name | html }}</font> <font color="#666666">[{{ $t.Type | html }}]</font>{{ if $sc }}{{ if ne $t.Comment "" }}<br /><font color="#333333">{{ $t.Comment | html | nl2br_slash }}</font>{{ end }}{{ end }}</td></tr>
<tr><td bgcolor="#EFEFEF"><font face="Arial Bold" point-size="18">{{ $t.Name | html }}</font>&nbsp;&nbsp;&nbsp;&nbsp;<font color="#666666">[{{ $t.Type | html }}]</font>{{ if $sc }}{{ if ne $t.Comment "" }}<br /><font color="#333333">{{ $t.Comment | html | nl2br_slash }}</font>{{ end }}{{ end }}</td></tr>
{{- range $ii, $c := $t.Columns }}
{{- if $c.HideForER }}{{ continue }}{{ end }}
<tr><td port="{{ $c.Name | html }}" align="left">{{ $c.Name | html }} <font color="#666666">[{{ $c.Type | html }}]</font>{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }}</td></tr>
<tr><td port="{{ $c.Name | html }}" align="left">{{ $c.Name | html }}&nbsp;&nbsp;&nbsp;&nbsp;<font color="#666666">[{{ $c.Type | html }}]</font>{{ if $sc }}{{ if ne $c.Comment "" }} {{ $c.Comment | html | nl2space }}{{ end }}{{ end }}</td></tr>
{{- end }}
</table>>];
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion sample/adjust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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

Expand Down
50 changes: 25 additions & 25 deletions sample/adjust/administrator.blogs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions sample/adjust/backup.blog_options.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ef73cf9

Please sign in to comment.