1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-09-19 05:31:58 +00:00

Rename project to imagemuck

This commit is contained in:
2021-05-05 13:48:02 -04:00
parent 6a7662ae0f
commit d92b53a60c
31 changed files with 116 additions and 116 deletions

View File

@@ -0,0 +1,15 @@
import datetime
import uuid
import peewee
INTERFACE = peewee.DatabaseProxy()
class ImageMuckModel(peewee.Model):
class Meta: # pylint: disable=too-few-public-methods,missing-class-docstring
database = INTERFACE
uuid = peewee.UUIDField(null=False, unique=True, default=uuid.uuid4)
created = peewee.DateTimeField(null=False, default=datetime.datetime.utcnow)