From 76019d76287f174cb6bf81fe052dc5c5c53be46c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 11 Dec 2014 20:51:40 -0500 Subject: Add project owner support (allow user management to a regular user), see #316 --- app/Schema/Mysql.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema/Mysql.php') diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 52dbea50..32953656 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -5,7 +5,12 @@ namespace Schema; use PDO; use Core\Security; -const VERSION = 36; +const VERSION = 37; + +function version_37($pdo) +{ + $pdo->exec("ALTER TABLE project_has_users ADD COLUMN is_owner TINYINT(1) DEFAULT '0'"); +} function version_36($pdo) { -- cgit v1.2.3