# 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 version 4
database to the version 5 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$
v4-v5-static
v4-v5-dynamic
$bundles$

#----------------------------------
[bundle v4-v5-static]
database alias = gnumed_v5
minimum postgresql version = 7.4
schema base directory = ../sql/v4-v5/static/
schema = $schema$
cfg-drop_old_tables.sql
cfg-cfg_item.sql
cfg-cfg_str_array.sql
blobs-doc_obj.sql
clin-allergy.sql
$schema$

#----------------------------------
[bundle v4-v5-dynamic]
database alias = gnumed_v5
minimum postgresql version = 7.4
schema base directory = ../sql/v4-v5/dynamic/
schema = $schema$
blobs-v_obj4doc_no_data.sql
blobs-v_latest_mugshot.sql
blobs-v_reviewed_doc_objects.sql
dem-v_provider_inbox.sql
dem-enum_ext_id_types.sql
dem-idx_identity_dob_ymd.sql
clin-encounter.sql
clin-v_most_recent_encounters.sql
clin-f_protect_clin_root_item.sql
clin-v_narrative4search.sql
clin-allergy.sql
$schema$

#----------------------------------
[database gnumed_v5]
name = gnumed_v5
drop target database = 1
target version = v5
source database = gnumed_v4
source version = v4
audit disable = 1
schema base directory = ../sql/v4-v5/
schema = $schema$
$schema$

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

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

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

groups = $groups$
$groups$

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