From c3bbddb1ff394858d6e3870d2a73f69f24e5aa7d Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Thu, 26 Apr 2012 16:29:26 +0100 Subject: [PATCH] Repair the issue due date migration for Postgresql --- src/IDF/Migrations/25IssueDueDate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Migrations/25IssueDueDate.php b/src/IDF/Migrations/25IssueDueDate.php index 6677219..ca02914 100644 --- a/src/IDF/Migrations/25IssueDueDate.php +++ b/src/IDF/Migrations/25IssueDueDate.php @@ -29,7 +29,7 @@ function IDF_Migrations_25IssueDueDate_up($params=null) { $table = Pluf::factory('IDF_Issue')->getSqlTable(); $sql = array(); - $sql['PostgreSQL'] = 'ALTER TABLE '.$table.' ADD COLUMN "due_dtime" DATETIME'; + $sql['PostgreSQL'] = 'ALTER TABLE '.$table.' ADD COLUMN "due_dtime" TIMESTAMP'; $sql['MySQL'] = 'ALTER TABLE '.$table.' ADD COLUMN `due_dtime` DATETIME'; $db = Pluf::db(); $engine = Pluf::f('db_engine');