[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [phpGroupWare-developers] oProc->RenameColumn
From: |
Maat |
Subject: |
Re: [phpGroupWare-developers] oProc->RenameColumn |
Date: |
Tue, 24 Jul 2007 11:46:04 +0200 |
User-agent: |
Thunderbird 2.0.0.4 (X11/20070620) |
Dave Hall a écrit :
> On Tue, 2007-07-24 at 11:09 +0200, Maat wrote:
>
>> Dave Hall a écrit :
>>
>>> On Mon, 2007-07-23 at 19:17 +0200, Maat wrote:
>>>
>>>
>>>> Does this work with mysql ?
>>>>
>>>>
>>> It should work. If it isn't, some more info might help us work out why
>>> it isn't :)
>>>
>>>
>> well... i tried to rename two columns and to delete one for ged...
>> deletion is ok but rename doesn't word at all.
>> No error message... the upgrade seem to be ok but the two columns are
>> not renamed :-(
>>
>> i'm trying to search in class.schema_proc* and it seems that
>> class.schema_proc_mysql.inc.php does a check on $aTables[$sTableName]
>> (line 379) and this array $aTables is empty :-(
>>
>> did i miss something ?
>>
>
> Can you post the code you are trying to run here, if it isn't too long,
> else pastebin.ca it
>
>
>
$GLOBALS['phpgw_setup']->oProc->RenameColumn('ged_doc_types',
'type_ref', 'type_id');
$GLOBALS['phpgw_setup']->oProc->RenameColumn('ged_doc_types',
'type_smq_ref', 'type_ref');
--
In a world without walls or fences, there would be no need for windows or
gates...