summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.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/Sqlite.php
parentac6e7bdfbf3479c655d7b883e50b6b01aa08784d (diff)
Add ical export for users
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 7af7bbe8..84892aaf 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -6,7 +6,12 @@ use Core\Security;
use PDO;
use Model\Link;
-const VERSION = 68;
+const VERSION = 69;
+
+function version_69($pdo)
+{
+ $pdo->exec("ALTER TABLE users ADD COLUMN token TEXT DEFAULT ''");
+}
function version_68($pdo)
{