Repair the issue due date migration for Postgresql
This commit is contained in:
parent
a608d7ea0a
commit
c3bbddb1ff
@ -29,7 +29,7 @@ function IDF_Migrations_25IssueDueDate_up($params=null)
|
|||||||
{
|
{
|
||||||
$table = Pluf::factory('IDF_Issue')->getSqlTable();
|
$table = Pluf::factory('IDF_Issue')->getSqlTable();
|
||||||
$sql = array();
|
$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';
|
$sql['MySQL'] = 'ALTER TABLE '.$table.' ADD COLUMN `due_dtime` DATETIME';
|
||||||
$db = Pluf::db();
|
$db = Pluf::db();
|
||||||
$engine = Pluf::f('db_engine');
|
$engine = Pluf::f('db_engine');
|
||||||
|
Loading…
Reference in New Issue
Block a user