mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 08:49:59 +00:00
Added reports page v2
This commit is contained in:
parent
799d5914d6
commit
e6083325d6
|
@ -391,7 +391,7 @@ class Report(db.Model):
|
|||
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
torrent_id = db.Column(db.Integer, db.ForeignKey(
|
||||
DB_TABLE_PREFIX + 'torrents.id'))
|
||||
DB_TABLE_PREFIX + 'torrents.id', ondelete='CASCADE'))
|
||||
user_id = db.Column(db.Integer, db.ForeignKey(
|
||||
'users.id'))
|
||||
created_time = db.Column(db.DateTime(timezone=False), default=datetime.utcnow)
|
||||
|
|
Loading…
Reference in a new issue