Bugzilla/Components.pm

Max Kanat-Alexander mkanat at bugzilla.org
Thu Jan 11 01:40:17 UTC 2007


On Wed, 10 Jan 2007 14:39:29 -0700 "Kevin Benton"
<kevin.benton at amd.com> wrote:
> I'm wondering, why do we define the elements of the component table 
> twice?  Why not just use the definition from Bugzilla/DB/Schema.pm ?

    Look at DB_COLUMNS in every single Bugzilla::Object derivative, and
see if they all match up with the exact schema. Bugzilla::Bug is a
great example.

	But it might be good to have a default for DB_COLUMNS that
reads from bz_schema if it's not specified.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.



More information about the developers mailing list