diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-04-08 15:54:26 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-04-08 15:54:26 -0400 |
commit | 0f4b5d95625b4fa5e7e10f1666130743ebb55e20 (patch) | |
tree | ae3c828717c1fe9a5692913af457580afe927d3d /app/Schema/Postgres.php | |
parent | d7b0cfbbe57fae9afbf9637afa7e54d3bf708747 (diff) |
Add missing migrations for Mysql and Postgres
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r-- | app/Schema/Postgres.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index cc3d9632..e6096d74 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -8,7 +8,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 101; +const VERSION = 102; + +function version_102(PDO $pdo) +{ + $pdo->exec('ALTER TABLE column_has_move_restrictions ADD COLUMN only_assigned BOOLEAN DEFAULT FALSE'); +} function version_101(PDO $pdo) { |