1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-12-19 09:02:34 +00:00

Rename project to fresnel-lens

This commit is contained in:
2021-10-28 19:03:09 -04:00
parent f9c38a5bcc
commit 888225bdf7
31 changed files with 155 additions and 160 deletions

View File

@@ -0,0 +1,15 @@
import datetime
import uuid
import peewee
INTERFACE = peewee.DatabaseProxy()
class FresnelModel(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)