0.2.14
Some checks failed
deploy / deploy (push) Failing after 2m1s

This commit is contained in:
2023-11-22 19:38:39 +03:00
parent e2082b48d3
commit db76ba3733
22 changed files with 271 additions and 314 deletions

View File

@@ -1,5 +1,7 @@
import time
from sqlalchemy import Column, Integer, ForeignKey, String
from sqlalchemy import Column, ForeignKey, Integer, String
from services.db import Base
@@ -20,4 +22,4 @@ class Collection(Base):
pic = Column(String, nullable=True, comment="Picture")
created_at = Column(Integer, default=lambda: int(time.time()))
created_by = Column(ForeignKey("author.id"), comment="Created By")
published_at = Column(Integer, default=lambda: int(time.time()))
publishedAt = Column(Integer, default=lambda: int(time.time()))