mirror of
https://github.com/ae-utbm/sith.git
synced 2025-12-20 06:43:21 +00:00
Migrate albums and pictures to their own tables
This commit is contained in:
@@ -70,7 +70,7 @@ class PictureFilterSchema(FilterSchema):
|
||||
class PictureSchema(ModelSchema):
|
||||
class Meta:
|
||||
model = Picture
|
||||
fields = ["id", "name", "date", "size", "is_moderated", "asked_for_removal"]
|
||||
fields = ["id", "name", "created_at", "is_moderated", "asked_for_removal"]
|
||||
|
||||
owner: UserProfileSchema
|
||||
sas_url: str
|
||||
|
||||
Reference in New Issue
Block a user