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/Sqlite.php | |
parent | 203754649e08dadeb631c2adfb0ccf4819dda941 (diff) |
Add project owner
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php index f1be0cf1..daa70f54 100644 --- a/app/Schema/Sqlite.php +++ b/app/Schema/Sqlite.php @@ -6,7 +6,12 @@ use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; use PDO; -const VERSION = 93; +const VERSION = 94; + +function version_94(PDO $pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN owner_id INTEGER DEFAULT 0"); +} function version_93(PDO $pdo) { |