feat: enhance deployment and installation process in build-and-push workflow
This commit is contained in:
2
posts.py
2
posts.py
@@ -9,7 +9,7 @@ class Post(db.Base):
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
title = Column(String)
|
||||
content = Column(String)
|
||||
author_id = Column(Integer, ForeignKey("users.id"))
|
||||
author_id = Column(Integer, ForeignKey("users.id"),index=True)
|
||||
|
||||
|
||||
router = APIRouter(prefix="/posts")
|
||||
|
||||
Reference in New Issue
Block a user