summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-06-03 17:31:32 -0400
committerFrederic Guillot <fred@kanboard.net>2017-06-03 17:31:32 -0400
commitdd8d7ef49d522a15dbf0d04f033f676580f30ad7 (patch)
treee82070f0831338f712a9312b72dc5edbd0c2a780 /app/Schema/Mysql.php
parent9668723af4f9ad633d9c9131fbdceb47fa326d9e (diff)
Add configurable list of predefined subjects when sending a task by email
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index 782338d4..20ef0080 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -8,7 +8,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 123;
+const VERSION = 124;
+
+function version_124(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE projects ADD COLUMN predefined_email_subjects TEXT');
+}
function version_123(PDO $pdo)
{