summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-23 13:15:59 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-23 13:15:59 -0400
commit8eb739bb910fb91737c6ce65f244eb9a3ac8f35c (patch)
treedb615be44d945a8dc1880a1238a381ec6534dfa2 /app/Schema/Mysql.php
parent297c11e48e1cf18e5773a7463721d862dfd6063d (diff)
Add Gitlab authentication
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 0a8ede18..af7c3c87 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -6,7 +6,12 @@ use PDO;
use Core\Security;
use Model\Link;
-const VERSION = 84;
+const VERSION = 85;
+
+function version_85($pdo)
+{
+ $pdo->exec("ALTER TABLE users ADD COLUMN gitlab_id INT");
+}
function version_84($pdo)
{