/usr/share/pgmodeler/schemas/xml/relationship.sch is in pgmodeler-common 0.8.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | # XML definition for relationships
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
[<relationship name=] "{name}" [ type=] "{type}"
%if {src-col-pattern} %or {dst-col-pattern} %then
$br $tb
%if {src-col-pattern} %then [ src-col-pattern=] "{src-col-pattern}" %end
%if {dst-col-pattern} %then [ dst-col-pattern=] "{dst-col-pattern}" %end
%end
%if {pk-pattern} %or {uq-pattern} %then
$br $tb
%if {pk-pattern} %then [ pk-pattern=] "{pk-pattern}" %end
%if {uq-pattern} %then [ uq-pattern=] "{uq-pattern}" %end
%end
%if {src-fk-pattern} %or {dst-fk-pattern} %then
$br $tb
%if {src-fk-pattern} %then [ src-fk-pattern=] "{src-fk-pattern}" %end
%if {dst-fk-pattern} %then [ dst-fk-pattern=] "{dst-fk-pattern}" %end
%end
%if {pk-col-pattern} %then
$br $tb [ pk-col-pattern=] "{pk-col-pattern}"
%end
%if {custom-color} %then
$br $tb [ custom-color=] "{custom-color}"
%end
%if {sql-disabled} %then
$br $tb [ sql-disabled=] "true"
%end
%if {protected} %then
$br [ protected=] "true"
%end
$br $tb [ src-table=] "{src-table}"
$br $tb [ dst-table=] "{dst-table}"
%if %not {relgen} %and %not {reldep} %then
$br $tb
[ src-required=] %if {src-required} %then "true" %else "false" %end
[ dst-required=] %if {dst-required} %then "true" %else "false" %end
%if {identifier} %then
$br $tb $sp identifier="true" $br
%end
%if {single-pk-col} %then
$br $tb [ single-pk-col=] "true"
%end
%if {table-name} %then
$br $tb $sp table-name="{table-name}"
%end
%if {deferrable} %then
$br
$tb $sp deferrable="true"
$sp defer-type="{defer-type}"
%end
%if {upd-action} %then
$br $tb upd-action= "{upd-action}"
%end
%if {del-action} %then
$br $tb del-action= "{del-action}"
%end
%else
%if {copy-mode} %then
$tb copy-mode="{copy-mode}" $sp copy-options="{copy-options}"
%end
%end
%if {reduced-form} %then
/> $br $br
%else
> $br
%if {points} %then $tb <line> $br $tb {points} $tb </line> $br %end
%if {labels-pos} %then {labels-pos} %end
%if %not {relgen} %and %not {reldep} %then
%if {columns} %then {columns} %end
%if {constraints} %then {constraints} %end
%end
%if {special-pk-cols} %then
$tb [<special-pk-cols indexes=]"{special-pk-cols}"/> $br
%end
</relationship> $br $br
%end
|