mirror of
https://github.com/enpaul/kodak.git
synced 2024-11-14 02:27:24 +00:00
12 lines
298 B
Python
12 lines
298 B
Python
import peewee
|
|
|
|
from imagemonk.database._shared import ImageMonkModel
|
|
from imagemonk.database.image import ImageRecord
|
|
|
|
|
|
class ThumbnailRecord(ImageMonkModel):
|
|
|
|
parent = peewee.ForeignKeyField(ImageRecord)
|
|
width = peewee.IntegerField(null=False)
|
|
height = peewee.IntegerField(null=False)
|