[horde] horde-webmail 1.2.6 sql inconsistencies

Jan Schneider jan at horde.org
Wed Jun 2 09:00:11 UTC 2010


Zitat von tom burkart <horde at aussec.com>:

> Hi,
> Just wondering about the SQL inconsistencies between the  
> groupware.pgsql.sql which in part says:
> CREATE TABLE turba_shares_groups (
>     ...
>     group_uid VARCHAR(255) NOT NULL,
>     ...
> );
>
> and the upgrade script 2.1_to_2.2_add_sql_share_tables.pgsql.sql  
> which in part says:
> CREATE TABLE turba_shares_groups (
>     ...
>     group_uid SMALLINT NOT NULL,
>     ...
> );
>
> For ingo, kronolith, nag it seems to be consistently using varchar(255).
> Mnemo has the same inconsistency as turba.
> horde_groups still has an integer group_uid.
>
> Bug, feature, oversight?

Neither.

2008-09-23_fix_group_uid.sql:
ALTER TABLE turba_shares_groups CHANGE group_uid group_uid VARCHAR(255);

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list