diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-24 16:29:14 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-24 16:29:14 -0500 |
commit | 4fa38bf417dd7f1673f63641460092bd046d57b7 (patch) | |
tree | 6c3a0e7ea2638bd3224cfeb9c9cb1ed3d79f82b2 /app/Schema/Postgres.php | |
parent | 203754649e08dadeb631c2adfb0ccf4819dda941 (diff) |
Add project owner
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r-- | app/Schema/Postgres.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 961d8f4d..d23a7723 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 81; +const VERSION = 82; + +function version_82(PDO $pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN owner_id INTEGER DEFAULT 0"); +} function version_81(PDO $pdo) { |