Add predefined templates for task descriptions

This commit is contained in:
Frederic Guillot
2017-11-02 15:41:58 -07:00
parent 44ae87ac0e
commit 648dc6bcfb
49 changed files with 655 additions and 17 deletions

View File

@@ -8,7 +8,18 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
const VERSION = 104;
const VERSION = 105;
function version_105(PDO $pdo)
{
$pdo->exec('CREATE TABLE predefined_task_descriptions (
id SERIAL 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_104(PDO $pdo)
{