summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-28 22:17:39 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-28 22:17:39 -0400
commitfe3504d8a2c7739df74735e54109403c3dd75619 (patch)
tree084d6eeed779f015f5e8a3f6320bbf544edf767b /app/Schema/Mysql.php
parent05fb6553471025af8bb090cd812651816c1c59fc (diff)
Fix postgres issues
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php4
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)