🏦 Database Change: convert created utc to datetimez for notifications (#668)
This commit is contained in:
parent
34b328583c
commit
e1075eb722
3 changed files with 57 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
from sqlalchemy import *
|
||||
from sqlalchemy.orm import relationship
|
||||
from files.classes.base import CreatedBase
|
||||
from files.classes.base import CreatedDateTimeBase
|
||||
|
||||
class Notification(CreatedBase):
|
||||
class Notification(CreatedDateTimeBase):
|
||||
__tablename__ = "notifications"
|
||||
|
||||
user_id = Column(Integer, ForeignKey("users.id"), primary_key=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue