🏦 Database Change: convert created utc to datetimez for modactions (#667)
This commit is contained in:
parent
356f7e2f41
commit
34b328583c
3 changed files with 59 additions and 7 deletions
|
@ -4,12 +4,12 @@ from copy import deepcopy
|
|||
from sqlalchemy import *
|
||||
from sqlalchemy.orm import relationship
|
||||
|
||||
from files.classes.base import CreatedBase
|
||||
from files.classes.base import CreatedDateTimeBase
|
||||
from files.helpers.config.const import *
|
||||
from files.helpers.lazy import lazy
|
||||
|
||||
|
||||
class ModAction(CreatedBase):
|
||||
class ModAction(CreatedDateTimeBase):
|
||||
__tablename__ = "modactions"
|
||||
id = Column(Integer, primary_key=True)
|
||||
user_id = Column(Integer, ForeignKey("users.id"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue