Custom Fields again
David Miller
justdave at syndicomm.com
Wed Dec 11 13:10:41 UTC 2002
On 12/11/02 11:13 PM +1100, Bradley Baetz wrote:
> On Wed, Dec 11, 2002 at 09:22:57AM +0000, Gervase Markham wrote:
>>
>> What's wrong with "dynamically" creating tables? And what's more
>> "dynamic" about them than checksetup.pl's creation of tables? (Yes, we
>> could prefix table names with cf_ to avoid clashes.)
>
> Firstly, its going to be massivly slow. How big is bmo's bugs table,
> again? That has to be copied for each update to the schema. What happens
> when teh webserver times out half way through?
Why do it from the web? Adding a custom field is either an initial
configuration thing or it's a Big Deal to add when you do it. Use a
command-line utility in the shell to do it (just like checksetup.pl) or
even use a data file (localconfig?) to declare what should be there, and
have checksetup.pl do that when it runs. Choosing which products it's
valid for and what the multi-select values are for multi-select fields
could certainly be done from the web interface however.
--
Dave Miller Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/ http://www.bugzilla.org/
More information about the developers
mailing list