[dev] Small patch for turba sql scripts.

Jan Kuipers jrkuipers@lauwerscollege.nl
Sat, 20 Jul 2002 23:35:23 +0200


Quoting Chuck Hagenbuch <chuck@horde.org>:

> This patch makes sense, but why do you consider the current code incomplete?

With the existing code the object_type field is _not_ used when adding a new
contact. It is only used when adding a new group. In the browse screen a user
has the opportunity to select "Show Lists", "Show Contacts" and "Show All", this
actions make use of the object_type field, so when this field is empty no new
contacts are shown, when selecting "Show Contacts". Regarding existing entries,
the user should update turba_objects with the following sql command:

update turba_objects set object_type = "Object" where object_type = "";

to get the table lined up with the new table structure.

-- 
Jan Kuipers
Systeembeheer Lauwers College