mirror of
https://github.com/kennethreitz-archive/patch-service.git
synced 2026-06-05 23:30:18 +00:00
users
This commit is contained in:
@@ -60,6 +60,7 @@ class Patch(db.Model, BaseModel):
|
||||
name = db.Column(db.String(100), unique=True, primary_key=True)
|
||||
description = db.Column(db.String(10000))
|
||||
device_id = db.Column(db.Integer, db.ForeignKey('device.id'))
|
||||
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
|
||||
category_id = db.Column(db.Integer, db.ForeignKey('category.id'))
|
||||
downloads = db.relationship('Download', backref='patch')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user