Enable/Disable users

This commit is contained in:
Frederic Guillot
2016-02-13 15:38:35 -05:00
parent 567d623446
commit 6161eaef9e
31 changed files with 541 additions and 72 deletions

View File

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