summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-02 19:16:50 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-02 19:16:50 -0500
commitf2fd5d75d98e01ab58a71b718d630b9b2ae8e16f (patch)
tree6c691b5f0024b822df75a37644e804c864d8f8e7 /config.default.php
parentb5671a2dc04b63a8d7787b1137e72d7858955d98 (diff)
Add config parameter to toggle automatic SQL migrations
- Add two command line opterations to show schema version and to execute SQL migrations - Add new configuration parameter to enable or disable SQL migrations
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index 04728f3e..09774689 100644
--- a/config.default.php
+++ b/config.default.php
@@ -50,6 +50,11 @@ define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
// Sendmail command to use when the transport is "sendmail"
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
+// Run automatically database migrations
+// If set to false, you will have to run manually the SQL migrations from the CLI during the next Kanboard upgrade
+// Do not run the migrations from multiple processes at the same time (example: web page + background worker)
+define('DB_RUN_MIGRATIONS', true);
+
// Database driver: sqlite, mysql or postgres (sqlite by default)
define('DB_DRIVER', 'sqlite');
@@ -226,3 +231,6 @@ define('HTTP_PROXY_PASSWORD', '');
// Set to false to allow self-signed certificates
define('HTTP_VERIFY_SSL_CERTIFICATE', true);
+
+// TOTP (2FA) issuer name
+define('TOTP_ISSUER', 'Kanboard');