Changeset 3981


Ignore:
Timestamp:
04/11/11 17:55:11 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1735 - Aumentar tamanho maximo do título agendamento.

Location:
branches/2.2.0.1/calendar/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/calendar/setup/tables_current.inc.php

    r3976 r3981  
    2525                                'cal_type' => array('type' => 'varchar','precision' => '10','nullable' => True), 
    2626                                'is_public' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '1'), 
    27                                 'title' => array('type' => 'varchar','precision' => '80','nullable' => False,'default' => '1'), 
     27                                'title' => array('type' => 'varchar','precision' => '300','nullable' => False,'default' => '1'), 
    2828                                'description' => array('type' => 'text','nullable' => True), 
    2929                                'observations' => array('type' => 'text','nullable' => True), 
  • branches/2.2.0.1/calendar/setup/tables_update.inc.php

    r3976 r3981  
    8989            return $GLOBALS['setup_info']['calendar']['currentver']; 
    9090        } 
     91        $test[] = '2.2.001'; 
     92        function calendar_upgrade2_2_001() 
     93        { 
     94            $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ALTER title TYPE varchar(300)"); 
     95            $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.002'; 
     96            return $GLOBALS['setup_info']['calendar']['currentver']; 
     97        } 
    9198?> 
Note: See TracChangeset for help on using the changeset viewer.