Fix wrong column type for users.language

This commit is contained in:
Frederic Guillot
2015-12-06 15:05:24 -05:00
parent 8f6c064cd7
commit 7c355edc16
4 changed files with 16 additions and 6 deletions

View File

@@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
const VERSION = 97;
const VERSION = 98;
function version_98(PDO $pdo)
{
$pdo->exec('ALTER TABLE `users` MODIFY `language` VARCHAR(5)');
}
function version_97(PDO $pdo)
{