diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-13 15:38:35 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-13 15:38:35 -0500 |
commit | 6161eaef9e107ddbfc104753eb5d48434de3b824 (patch) | |
tree | 6a689458e0705c8da272712b71358ccd992f8a8b /app/Schema/Sqlite.php | |
parent | 567d623446d7e98393fb542c88d6d3b18b05cf6f (diff) |
Enable/Disable users
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index bc701341..aa10e58b 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 = 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) { |