Atualizar app/models.py
This commit is contained in:
+7
-1
@@ -57,7 +57,13 @@ class User(Base):
|
|||||||
can_export_md = Column(Boolean, default=True)
|
can_export_md = Column(Boolean, default=True)
|
||||||
|
|
||||||
|
|
||||||
|
class Cache(Base):
|
||||||
|
__tablename__ = "cache"
|
||||||
|
key = Column(String, primary_key=True)
|
||||||
|
model = Column(String)
|
||||||
|
response = Column(Text)
|
||||||
|
created_at = Column(DateTime, default=datetime.utcnow)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user