Add support for Github Issue Webhooks

This commit is contained in:
Frédéric Guillot
2014-09-28 18:23:21 -04:00
parent 03fa01ac7b
commit 33f9cdbc97
29 changed files with 766 additions and 17 deletions

View File

@@ -4,7 +4,16 @@ namespace Schema;
use Core\Security;
const VERSION = 27;
const VERSION = 28;
function version_28($pdo)
{
$pdo->exec("ALTER TABLE tasks ADD COLUMN reference TEXT DEFAULT ''");
$pdo->exec("ALTER TABLE comments ADD COLUMN reference TEXT DEFAULT ''");
$pdo->exec('CREATE INDEX tasks_reference_idx ON tasks(reference)');
$pdo->exec('CREATE INDEX comments_reference_idx ON comments(reference)');
}
function version_27($pdo)
{