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 = 77;
const VERSION = 78;
function version_78(PDO $pdo)
{
$pdo->exec('ALTER TABLE "users" ALTER COLUMN "language" TYPE VARCHAR(5)');
}
function version_77(PDO $pdo)
{