Closed Bug 1532409 (bmo-model) Opened 2 years ago Closed 2 years ago

Introduce Bugzilla::Model (a DBIx::Class::Schema)

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

References

Details

To make some database operations easier, we could use DBIx::Class. This introduces a Bugzilla::Model and several result classes covering many of the database objects. When possible, it uses the information provided by the Bugzilla::Object ORM, such as the table name and the list of columns.

Future work should include getting the schema information from Bugzilla::DB::Schema, and the eventual end game would be defining the Bugzilla::Objects in terms of the DBIx::Class objects.

Blocks: 1532416
Alias: bmo-model
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.