diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-10-27 16:16:11 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-10-27 16:16:11 -0700 |
commit | cc6618901bc927558dc159ac0dbec1159231c5f1 (patch) | |
tree | f1c14931ab88c0056e538e6d62cd1fa667d94a0d /app/Schema | |
parent | 0b9c3b0a5b61a61faf9061e040e072e4b198f6d2 (diff) |
Remove feature "Allow everybody to access to this project"
Diffstat (limited to 'app/Schema')
-rw-r--r-- | app/Schema/Mysql.php | 7 | ||||
-rw-r--r-- | app/Schema/Postgres.php | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 20ef0080..ca284f47 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -8,7 +8,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 124; +const VERSION = 125; + +function version_125(PDO $pdo) +{ + $pdo->exec('ALTER TABLE projects DROP COLUMN is_everybody_allowed'); +} function version_124(PDO $pdo) { diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index a5b52b2b..312b1dba 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 = 103; +const VERSION = 104; + +function version_104(PDO $pdo) +{ + $pdo->exec('ALTER TABLE projects DROP COLUMN is_everybody_allowed'); +} function version_103(PDO $pdo) { |