Add personal API access token

This commit is contained in:
Frederic Guillot
2016-12-03 15:43:36 -05:00
parent 23d862aef8
commit b8f7532e5c
45 changed files with 526 additions and 15 deletions

View File

@@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
const VERSION = 96;
const VERSION = 97;
function version_97(PDO $pdo)
{
$pdo->exec('ALTER TABLE "users" ADD COLUMN api_access_token VARCHAR(255) DEFAULT NULL');
}
function version_96(PDO $pdo)
{