phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] oProc - AlterColumn


From: Sigurd Nes
Subject: Re: [Phpgroupware-developers] oProc - AlterColumn
Date: Mon, 07 Jul 2003 10:00:48 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030525 Thunderbird/0.1a

Ralf Becker wrote:


Sigurd Nes wrote:

is AlterColumn and RenameColumn working for oProc ?


They work on oProc. oProc is not the normal database object, it's a schema_proc processor. If you use $GLOBALS['phpgw_setup']->oProc within an tables_update script, it only works on the database, if there is a need for an update (current version less then source version), else it works only on an internal array.

mysql and mssql do nothing - and postgres reports that the table does not exist


While u run an update via setup ?

This is what  tables_update ( via setup) does for me:
CreateTable    - ok
DropTable    - ok
AddColumn    - ok
DropColumn    - ok
RenameColumn    - not working
AlterColumn    - not working

Sigurd






reply via email to

[Prev in Thread] Current Thread [Next in Thread]