diff options
Diffstat (limited to 'api/v1/db.py')
-rw-r--r-- | api/v1/db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/v1/db.py b/api/v1/db.py index 1d9f469..f19f306 100644 --- a/api/v1/db.py +++ b/api/v1/db.py @@ -37,8 +37,8 @@ class DataPack(BaseModel): class TagRelation(BaseModel): - tags = ForeignKeyField(Tag) - packs = ForeignKeyField(DataPack) + tag = ForeignKeyField(Tag) + pack = ForeignKeyField(DataPack) class Comment(BaseModel): |