diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-21 18:51:59 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-21 18:51:59 -0400 |
commit | 2c056bb9bbfd22c7c2225964d994c79a60b7f64d (patch) | |
tree | f68c0f3f503ba4fd199eed2aee2cb201a1cc3a62 /app/Schema/Mysql.php | |
parent | 88a1120d9b4fde8b3e8cddad6d2be3cdd9fbf806 (diff) |
Add option to allow everybody on a project
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 05bef8cd..4f74f761 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -5,7 +5,12 @@ namespace Schema; use PDO; use Core\Security; -const VERSION = 33; +const VERSION = 34; + +function version_34($pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN is_everybody_allowed TINYINT(1) DEFAULT '0'"); +} function version_33($pdo) { |