How to load another properties file in the default logical database

This page shows how to update the content of the default logical database based on another logical-database.properties file.

This can be useful when needing different configurations for different projects.

databasePropertiesFile := FileLocator documents / 'lepiter' / 'logical-database.properties'.
databaseProperties := LeLogicalDatabaseProperties new
	localFile: databasePropertiesFile.

LeDatabasesRegistry defaultLogicalDatabase stopMonitoring.
LeDatabasesRegistry defaultLogicalDatabase
	properties: databaseProperties;
	reload.