From f2fd5d75d98e01ab58a71b718d630b9b2ae8e16f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 2 Dec 2016 19:16:50 -0500 Subject: 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 --- config.default.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.default.php') 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'); -- cgit v1.2.3