summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-18 12:56:32 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-18 12:56:32 -0400
commit46eafe105fe97b7be8b8a25a72b491bef03fea8c (patch)
treec499a668b23ca6edf4cd158e4f8dc57d6b31edd6 /app/Schema/Mysql.php
parentac6e7bdfbf3479c655d7b883e50b6b01aa08784d (diff)
Add ical export for users
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 7195c7fe..593cca80 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 = 69;
+const VERSION = 70;
+
+function version_70($pdo)
+{
+ $pdo->exec("ALTER TABLE users ADD COLUMN token VARCHAR(255) DEFAULT ''");
+}
function version_69($pdo)
{