summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-04-08 11:18:58 -0400
committerFrederic Guillot <fred@kanboard.net>2017-04-08 11:18:58 -0400
commitfe9f3ba707d1caf9348ae17e0566eabd505fbce2 (patch)
treedff1f604fb6c9461642847c4b6684327806e0c8d /app/Schema/Sqlite.php
parent9a8c6d6493191a09720a634c58c230dba1cafeeb (diff)
Add assignee restriction for custom project roles (dnd)
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index 04a5d050..ddcff861 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -8,7 +8,12 @@ use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
use PDO;
-const VERSION = 113;
+const VERSION = 114;
+
+function version_114(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE column_has_move_restrictions ADD COLUMN only_assigned INTEGER DEFAULT 0');
+}
function version_113(PDO $pdo)
{