diff --git a/olat.local.properties.sample b/olat.local.properties.sample index 716b1d5aed805322362f5b127ef38bcc803d3bf4..758909170103f828181ccca2ba7d88f387641a03 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