# 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$
v18-fixups
$bundles$

#----------------------------------
[bundle v18-fixups]
database alias = gnumed_v18
minimum postgresql version = 8.4
schema base directory = ../sql/v17-v18/fixups/
schema = $schema$
v18-role-permissions-fixup.sql
v18-cfg-depreciated_placeholders-fixup.sql
v18-cfg-report_query-fixup.sql
v18-dem-v_message_inbox-fixup.sql
v18-clin-encounter-fixup.sql
v18-clin-soapU_check-fixup.sql
v18-clin-keyword_expansion-data-fixup.sql
v18-clin-results_review_change-fixup.sql
v18-ref-Epworth_Sleepiness_Scale_1997-fixup.sql
v18-ref-bacterial_conjunctivitis_score-fixup.sql
v18-ref-Bird_PMR_1979-fixup.sql
v18-ref-DEGAM_HWI_2012-fixup.sql
v18-ref-MELD_score-fixup.sql
v18-ref-recalls_template-fixup.sql
v18-i18n-french_translations.sql
v18-bill-bill_item-fixup.sql
v18-ref-paperwork_templates-fixup.sql
$schema$

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

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

superuser schema = $superuser schema$
$superuser schema$

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

script base directory = ../sql/v17-v18/python/
data import scripts = $data import scripts$
v18-import-form-templates.py
$data import scripts$

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

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

groups = $groups$
$groups$

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