Skip to content
Snippets Groups Projects

Use SQLAlchemy Declarative API for ORM Models

Merged Kevin Morris requested to merge kevr/aurweb:pu_declarative into pu

The Declarative API is more modern and common than the classical mapping API which is currently used. The declarative API allows us to more easily customize ORM model attributes, like constraints and table arguments.

Now, aurweb.models.declarative.Base should be the base class of all aurweb ORM models.

In addition, this MR adds the PackageVote model.

Edited by Kevin Morris

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading