diff --git a/README b/README index beb1e55..04f5c6d 100644 --- a/README +++ b/README @@ -3,4 +3,4 @@ In here we can put instructions on how to run this / any general info pip packages: * pymediainfo * PIL (should be there by default) - * \ No newline at end of file + * ExifRead \ No newline at end of file diff --git a/photos.py b/photos.py index 43e1661..c1280b3 100644 --- a/photos.py +++ b/photos.py @@ -40,6 +40,7 @@ class Photos(db.Model): size_MB = db.Column(db.Integer, unique=False, nullable=False) # hash might not be unique, this could be the source of dupe problems hash = db.Column(db.Integer, unique=True, nullable=True) + thumnbnail = db.Column(db.BYTE, unique=False, nullable=False) def __repr__(self): return "".format(self.id, self.name )