# GNUmed database system bootstrapping config file
#-------------------------------------------------
# license: GPL v2 or later
# author: Karsten Hilbert@gmx.net

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

keep temp files = no

description = $description$
This will update an existing GNUmed database.

It does so by applying all fixup SQL scripts
appropriate to the version of the database.

$description$

bundles = $bundles$
v17-fixups
$bundles$

#----------------------------------
[bundle v17-fixups]
database alias = gnumed_v17
minimum postgresql version = 8.4
schema base directory = ../sql/v16-v17/fixups/
schema = $schema$
v17-blobs-doc_obj-fixup.sql
v17-clin-v_waiting_list-fixup.sql
v17-clin-clin_narrative-fixup.sql
v17-clin-soapU_check-fixup.sql
v17-ref-consumable_substance-fixup.sql
v17-ref-billable-fixup.sql
v17-ref-bill_item-fixup.sql
v17-cfg-report_query-fixup.sql
v17-ref-bill-fixup.sql
$schema$

#----------------------------------
[database gnumed_v17]
name = gnumed_v17
drop target database = 0
use existing target database = 1
target version = v17
transfer users = 0

source database = template1
audit disable = 1
schema base directory = ../sql/v16-v17/
schema = $schema$
$schema$

superuser schema = $superuser schema$
$superuser schema$

upgrade plausibility checks = $upgrade plausibility checks$
$upgrade plausibility checks$

script base directory = ../sql/v16-v17/python/
data import scripts = $data import scripts$
$data import scripts$

#----------------------------------
[cluster]
host name = 
port = 5432
maintenance database = template1
schema base directory = ../sql/v16-v17/
schema = $schema$
$schema$

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

groups = $groups$
$groups$

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