From cc6618901bc927558dc159ac0dbec1159231c5f1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 27 Oct 2017 16:16:11 -0700 Subject: Remove feature "Allow everybody to access to this project" --- app/Schema/Mysql.php | 7 ++++++- app/Schema/Postgres.php | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'app/Schema') 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) { -- cgit v1.2.3