diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-01 14:19:49 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-01 14:19:49 -0500 |
commit | 40ca850707b2f7f51d2d9028bcfd218cd966b32f (patch) | |
tree | 208af425a604261fce0d6173a57b656ab2c34f3d /app/Schema/Mysql.php | |
parent | b42830e77d85b684fa8c93dd78d19d80c3b3b7fe (diff) |
Add column description (merge/change pull-request #549)
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 05e8f14c..54aa748e 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -5,7 +5,12 @@ namespace Schema; use PDO; use Core\Security; -const VERSION = 41; +const VERSION = 42; + +function version_42($pdo) +{ + $pdo->exec('ALTER TABLE columns ADD COLUMN description TEXT'); +} function version_41($pdo) { |