🏦 Database Change: convert created utc to datetimez for votes (#670)
This commit is contained in:
parent
53c78c4536
commit
15f387f109
4 changed files with 60 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
|||
from sqlalchemy import *
|
||||
from sqlalchemy.orm import relationship
|
||||
|
||||
from files.classes.base import CreatedBase, CreatedDateTimeBase
|
||||
from files.classes.base import CreatedDateTimeBase
|
||||
from files.helpers.lazy import lazy
|
||||
|
||||
|
||||
class Vote(CreatedBase):
|
||||
class Vote(CreatedDateTimeBase):
|
||||
__tablename__ = "votes"
|
||||
|
||||
submission_id = Column(Integer, ForeignKey("submissions.id"), primary_key=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue