diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-27 15:14:04 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-27 15:14:04 -0400 |
commit | 6c772de184505ae339a970631c8e98f3e3b6e5f0 (patch) | |
tree | 47aaafd9ef996041c7857db72ad1d274d7b44c42 /app/Schema/Mysql.php | |
parent | e6e286be8315345bed575712b338629e4ba76bcb (diff) |
Remove column default_project_id for users because it's useless now
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index dd6af5a2..0c932104 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 76; +const VERSION = 77; + +function version_77($pdo) +{ + $pdo->exec('ALTER TABLE users DROP COLUMN `default_project_id`'); +} function version_76($pdo) { |