Allow task limits to be applied per-swimlane
This commit is contained in:
committed by
Frédéric Guillot
parent
0a6f614571
commit
e59ab08af3
@@ -8,7 +8,12 @@ use PDO;
|
||||
use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Security\Role;
|
||||
|
||||
const VERSION = 133;
|
||||
const VERSION = 134;
|
||||
|
||||
function version_134(PDO $pdo)
|
||||
{
|
||||
$pdo->exec('ALTER TABLE `projects` ADD COLUMN `per_swimlane_task_limits` INT DEFAULT 0 NOT NULL');
|
||||
}
|
||||
|
||||
function version_133(PDO $pdo)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,12 @@ use PDO;
|
||||
use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Security\Role;
|
||||
|
||||
const VERSION = 111;
|
||||
const VERSION = 112;
|
||||
|
||||
function version_112(PDO $pdo)
|
||||
{
|
||||
$pdo->exec('ALTER TABLE "projects" ADD COLUMN per_swimlane_task_limits BOOLEAN DEFAULT FALSE');
|
||||
}
|
||||
|
||||
function version_111(PDO $pdo)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,12 @@ use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Security\Role;
|
||||
use PDO;
|
||||
|
||||
const VERSION = 120;
|
||||
const VERSION = 121;
|
||||
|
||||
function version_121(PDO $pdo)
|
||||
{
|
||||
$pdo->exec('ALTER TABLE projects ADD COLUMN per_swimlane_task_limits INTEGER DEFAULT 0 NOT NULL');
|
||||
}
|
||||
|
||||
function version_120(PDO $pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user