Increase action name column length in actions table

This commit is contained in:
Frederic Guillot 2016-01-03 18:33:46 -05:00
parent 0751508ae3
commit 4e6ad60f4f
3 changed files with 13 additions and 2 deletions

View File

@ -19,6 +19,7 @@ Improvements:
* Improving performance during task position change (SQL queries are 3 times faster than before)
* Do not show window scrollbars when individual column scrolling is enabled
* Automatic Actions code improvements and unit tests
* Increase action name column length in actions table
Bug fixes:

View File

@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
const VERSION = 99;
const VERSION = 100;
function version_100(PDO $pdo)
{
$pdo->exec('ALTER TABLE `actions` MODIFY `action_name` VARCHAR(255)');
}
function version_99(PDO $pdo)
{

View File

@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
const VERSION = 79;
const VERSION = 80;
function version_80(PDO $pdo)
{
$pdo->exec('ALTER TABLE "actions" ALTER COLUMN "action_name" TYPE VARCHAR(255)');
}
function version_79(PDO $pdo)
{