From 35be294445a63e8a5e1f3c1ba9949009a1aa7e16 Mon Sep 17 00:00:00 2001 From: gnaegi <none@none> Date: Thu, 12 Apr 2012 17:38:06 +0200 Subject: [PATCH] non-jira: set update database to true as default for example --- olat.local.properties.sample | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/olat.local.properties.sample b/olat.local.properties.sample index 716b1d5aed8..75890917010 100644 --- a/olat.local.properties.sample +++ b/olat.local.properties.sample @@ -20,9 +20,12 @@ userdata.dir=/opt/openolat/olatdata # supported vendors currently include "mysql" and "postgresql" db.vendor=mysql -db.hibernate.ddl.auto=validate -#db.hibernate.ddl.auto=update -auto.upgrade.database=false +# here you have two options: when you set auto.upgrade.database to true +# the alter scripts in /src/main/resources/database/**/alter**.sql are +# executed automatically. For most cases this is fine. If you set it to +# false however, you must execute those scripts yourself BEFORE starting +# OpenOLAT after an update. +auto.upgrade.database=true # the name of the application database db.name=openolat -- GitLab