Increase action name column length in actions table
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user