summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.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/Postgres.php
parent9668723af4f9ad633d9c9131fbdceb47fa326d9e (diff)
Add configurable list of predefined subjects when sending a task by email
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index e6096d74..a5b52b2b 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -8,7 +8,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 102;
+const VERSION = 103;
+
+function version_103(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE projects ADD COLUMN predefined_email_subjects TEXT');
+}
function version_102(PDO $pdo)
{