From b2cce5a3a1a0be68102e614b42d2ee6a030bd523 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 14 Aug 2015 15:43:08 -0400 Subject: Add new role Project Administrator --- 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 876df981..e1ba07e3 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 62; +const VERSION = 63; + +function version_63($pdo) +{ + $pdo->exec("ALTER TABLE users ADD COLUMN is_project_admin INTEGER DEFAULT 0"); +} function version_62($pdo) { -- cgit v1.2.3