Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 4d3aacf

Browse files
committed
#176 No longer creating triggers database by default
1 parent 84b7632 commit 4d3aacf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/marklogic/appdeployer/AppConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class AppConfig {
103103
private Map<String, String> customTokens = new HashMap<>();
104104

105105
// Allows for creating a triggers database without a config file for one
106-
private boolean createTriggersDatabase = true;
106+
private boolean createTriggersDatabase = false;
107107

108108
// Controls whether forests are deleted when a database is deleted
109109
private boolean deleteForests = true;
@@ -512,8 +512,8 @@ public void setCustomTokens(Map<String, String> customTokens) {
512512
}
513513

514514
/**
515-
* @return whether a triggers database should be created by default; defaults to true, as it's very common to need a
516-
* triggers database, such as for CPF, Alerting, custom triggers, etc.
515+
* @return whether a triggers database should be created by default; as of version 2.9.0, this defaults to false;
516+
* defaulted to true prior to that.
517517
*/
518518
public boolean isCreateTriggersDatabase() {
519519
return createTriggersDatabase;

0 commit comments

Comments
 (0)