summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-04 16:03:29 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-04 16:03:29 -0500
commitd5c4c18ea0bd6c0d1a9d0104c1c17748a35f85a7 (patch)
tree313e42064e41c0b4da565d98992f5aa2933dd8ed /app/Schema/Sqlite.php
parent8eac12188865f380439a40549e6e6ed58c3f405c (diff)
Add email address field for projects
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index 87630b1a..a68ed418 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -6,7 +6,12 @@ use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
use PDO;
-const VERSION = 110;
+const VERSION = 111;
+
+function version_111(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE "projects" ADD COLUMN email TEXT');
+}
function version_110(PDO $pdo)
{