summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-03 15:43:36 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-03 15:43:36 -0500
commitb8f7532e5c7e8b8be3ab199fca3dadd0d22be4cd (patch)
tree435eb1e72df595875547547f939493a6a6b7c512 /app/Schema/Sqlite.php
parent23d862aef8891130bc7eaeaa25513a9895b44c95 (diff)
Add personal API access token
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 edf6ce63..11dcd537 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 = 107;
+const VERSION = 108;
+
+function version_108(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE users ADD COLUMN api_access_token VARCHAR(255) DEFAULT NULL');
+}
function version_107(PDO $pdo)
{