dev@locazia: fix content json_format time
This commit is contained in:
parent
ebe0d149e0
commit
1933ddea26
|
|
@ -70,6 +70,6 @@ class StoredContent(AlchemyBase):
|
|||
"hash": self.hash,
|
||||
"cid": self.cid.serialize_v1(),
|
||||
"status": self.status,
|
||||
"updated": self.updated,
|
||||
"created": self.created,
|
||||
"updated": self.updated.isoformat(),
|
||||
"created": self.created.isoformat(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from sqlalchemy.sql import text
|
|||
from app.core._config import MYSQL_URI, MYSQL_DATABASE
|
||||
from app.core.logger import make_log
|
||||
|
||||
engine = create_engine(MYSQL_URI, echo=True)
|
||||
engine = create_engine(MYSQL_URI) #, echo=True)
|
||||
Session = sessionmaker(bind=engine)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue