Changeset 316 for trunk/contactcenter


Ignore:
Timestamp:
06/17/08 14:42:58 (16 years ago)
Author:
niltonneto
Message:

Corrigido erro fatal ao atualizar módulo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/setup/tables_update.inc.php

    r308 r316  
    7171                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_cc_contact','last_status', array('type' => 'char', 'precision' => 1, 'default' => 'N')); 
    7272                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_cc_contact','category', array('type' => 'varchar', 'precision' => 20)); 
    73                 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN last_update int8 DEFAULT (date_part('epoch'::text, ('now'::text)::timestamp(3) with time zone) * (1000)::double precision)") 
    74                  or die("Coluna last_update criada anteriormente."); 
    75  
     73                $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN last_update int8 DEFAULT (date_part('epoch'::text, ('now'::text)::timestamp(3) with time zone) * (1000)::double precision)"); 
    7674                $GLOBALS['setup_info']['contactcenter']['currentver'] = '1.20'; 
    7775                return $GLOBALS['setup_info']['contactcenter']['currentver']; 
Note: See TracChangeset for help on using the changeset viewer.