File: update_db-v3_v4.conf

package info (click to toggle)
gnumed-server 21.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 45,408 kB
  • ctags: 3,891
  • sloc: sql: 1,210,640; python: 13,526; sh: 1,476; makefile: 19
file content (102 lines) | stat: -rw-r--r-- 2,353 bytes parent folder | download | duplicates (4)
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
100
101
102
# GNUmed database system bootstrapping config file
#-------------------------------------------------
# license: GPL v2 or later
# author: Karsten Hilbert@gmx.net

#----------------------------------
[revision control]
file = $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/server/bootstrap/update_db-v3_v4.conf,v $
version = $Revision: 1.9 $

#----------------------------------
[installation]
interactive = yes

keep temp files = no

description = $description$
This will update an existing GNUmed version 3
database to the version 4 schema. It does not do
any harm to the data contained within.

The existing database is cloned first. The copy is
then modified. The original database remains unchanged.
$description$

bundles = $bundles$
v3-v4-static
v3-v4-dynamic
$bundles$

#----------------------------------
[bundle v3-v4-static]
database alias = gnumed_v4
minimum postgresql version = 7.4
schema base directory = ../sql/v3-v4/static/
schema = $schema$
public-gm_services.sql
cfg-cfg_item.sql
cfg-cfg_str_array.sql
$schema$

#----------------------------------
[bundle v3-v4-dynamic]
database alias = gnumed_v4
minimum postgresql version = 7.4
schema base directory = ../sql/v3-v4/dynamic/
schema = $schema$
clin-episode.sql
blobs-v_latest_mugshot.sql
$schema$

#----------------------------------
[database gnumed_v4]
name = gnumed_v4
override name by = GM_CORE_DB
drop target database = 1
target version = v4
template database = gnumed_v3
template version = v3
server alias = local host
audit disable = 1
audit trail parent table = audit.audit_trail
audit trail table prefix = log_
audit fields table = audit.audit_fields
schema base directory = ../sql/v3-v4/
schema = $schema$
$schema$

superuser schema = $superuser schema$
superuser/transfer_users.sql
$superuser schema$

#----------------------------------
[server local host]
name = 
port = 5432
template database = template1
super user alias = postgres
schema base directory = ../sql/v3-v4/
schema = $schema$
$schema$

#----------------------------------
[user GNUmed owner]
name = gm-dbo
password = 

[user postgres]
name = postgres
#password =

#----------------------------------
# these really shouldn't be changed
#----------------------------------
[GnuMed defaults]

database owner alias = GNUmed owner

groups = $groups$
$groups$

#----------------------------------