mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 15:26:56 +02:00
order torrent.trackers relation
This commit is contained in:
parent
be0f07d6b8
commit
02c04ce893
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class Torrent(db.Model):
|
|||
stats = db.relationship('Statistic', uselist=False,
|
||||
cascade="all, delete-orphan", back_populates='torrent', lazy='joined')
|
||||
trackers = db.relationship('TorrentTrackers', uselist=True,
|
||||
cascade="all, delete-orphan", lazy='joined')
|
||||
cascade="all, delete-orphan", lazy='joined', order_by='TorrentTrackers.order')
|
||||
comments = db.relationship('Comment', uselist=True,
|
||||
cascade="all, delete-orphan")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue