Add predefined templates for task descriptions
This commit is contained in:
@@ -8,7 +8,18 @@ use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Security\Role;
|
||||
use PDO;
|
||||
|
||||
const VERSION = 115;
|
||||
const VERSION = 116;
|
||||
|
||||
function version_116(PDO $pdo)
|
||||
{
|
||||
$pdo->exec('CREATE TABLE predefined_task_descriptions (
|
||||
id INTEGER PRIMARY KEY,
|
||||
project_id INTEGER NOT NULL,
|
||||
title TEXT NOT NULL,
|
||||
description TEXT NOT NULL,
|
||||
FOREIGN KEY(project_id) REFERENCES projects(id) ON DELETE CASCADE
|
||||
)');
|
||||
}
|
||||
|
||||
function version_115(PDO $pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user