summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
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 8054340c..cbea908f 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 99;
+const VERSION = 100;
+
+function version_100(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE "projects" ADD COLUMN email VARCHAR(255)');
+}
function version_99(PDO $pdo)
{