From 2c056bb9bbfd22c7c2225964d994c79a60b7f64d Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 21 Oct 2014 18:51:59 -0400 Subject: Add option to allow everybody on a project --- app/Schema/Postgres.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema/Postgres.php') diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 8aaff259..f301f3e8 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -5,7 +5,12 @@ namespace Schema; use PDO; use Core\Security; -const VERSION = 14; +const VERSION = 15; + +function version_15($pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN is_everybody_allowed BOOLEAN DEFAULT '0'"); +} function version_14($pdo) { -- cgit v1.2.3