File: dbmodel.sch

package info (click to toggle)
pgmodeler 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,160 kB
  • sloc: cpp: 99,216; xml: 27; sh: 15; makefile: 6
file content (96 lines) | stat: -rw-r--r-- 1,979 bytes parent folder | download | duplicates (2)
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
# XML definition for database model
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
<?xml $sp version="1.0" $sp encoding="UTF-8"?> $br
[<!--] $br
[CAUTION: Do not modify this file unless you know what you are doing.] $br
[ Unexpected results may occur if the code is changed deliberately.] $br
[-->] $br
<dbmodel [ pgmodeler-ver=] "{pgmodeler-ver}" [ use-changelog]= "{use-changelog}"

%if {author} %then 
	[ author=] "&{author}" 
%end

%if {protected} %then
	[ protected=] "true"
%end

%if {max-obj-count} %then
	[ max-obj-count=] "{max-obj-count}"
%end

$br $tb 

[ gen-disabled-objs-code=] "{gen-disabled-objs-code}"

[ show-sys-schemas-rects=] "{show-sys-schemas-rects}"

%if {last-position} %or {last-position} %or {scene-rect} %then
	$br $tb

	%if {last-position} %then
		[ last-position=] "{last-position}"
	%end

	%if {last-zoom} %then
		[ last-zoom=] "{last-zoom}"
	%end

	%if {scene-rect} %then
		[ scene-rect=] "{scene-rect}"
	%end	
%end

%if {default-schema} %or {default-owner} %then
	$br $tb

	%if {default-schema} %then
		[ default-schema=] "&{default-schema}"
	%end

	%if {default-owner} %then
		[ default-owner=] "&{default-owner}"
	%end
%end

%if {default-collation} %or {default-tablespace} %then
	$br $tb

	%if {default-collation} %then
		[ default-collation=] "&{default-collation}"
	%end

	%if {default-tablespace} %then
		[ default-tablespace=] "&{default-tablespace}"
	%end
%end

%if {layers} %then
	$br $tb
	[ layers]="&{layers}"

	$br $tb [ active-layers]=

	%if {active-layers} %then
		"{active-layers}"
	%else
		""
	%end

	$br $tb
	[ layer-name-colors]="{layer-name-colors}"

	$br $tb
	[ layer-rect-colors]="{layer-rect-colors}"

	$br $tb
	[ show-layer-names]="{show-layer-names}"
	[ show-layer-rects]="{show-layer-rects}"
%end

> $br
%if {objects} %then {objects} %end
%if {permission} %then {permission} %end
%if {changelog} %then {changelog} %end
</dbmodel> $br