diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-28 22:17:39 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-28 22:17:39 -0400 |
commit | fe3504d8a2c7739df74735e54109403c3dd75619 (patch) | |
tree | 084d6eeed779f015f5e8a3f6320bbf544edf767b /app/Schema/Mysql.php | |
parent | 05fb6553471025af8bb090cd812651816c1c59fc (diff) |
Fix postgres issues
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index af7c3c87..b1ac0ab9 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -15,8 +15,8 @@ function version_85($pdo) function version_84($pdo) { - $pdo->exec("ALTER TABLE projects ADD COLUMN start_date CHAR(10) DEFAULT ''"); - $pdo->exec("ALTER TABLE projects ADD COLUMN end_date CHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN start_date VARCHAR(10) DEFAULT ''"); + $pdo->exec("ALTER TABLE projects ADD COLUMN end_date VARCHAR(10) DEFAULT ''"); } function version_83($pdo) |