diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-28 21:37:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-28 21:37:53 -0400 |
commit | 5536f6c6ce591ba05a169d2e33b6fb240378d8a4 (patch) | |
tree | bac0cb1563d8258965384b97be8d425578f71ef6 /app/Schema/Postgres.php | |
parent | f9891a966fb87d2112f174b7c3a1b3a705b73bdd (diff) |
Add Slack integration
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r-- | app/Schema/Postgres.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index dc4afff3..ea7b84d1 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,14 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 38; +const VERSION = 39; + +function version_39($pdo) +{ + $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)'); + $rq->execute(array('integration_slack_webhook', '0')); + $rq->execute(array('integration_slack_webhook_url', '')); +} function version_38($pdo) { |