Compare commits

..

6 Commits

Author SHA1 Message Date
agent-bot 26092f36db Recovered orphaned WIP before switching to a new task 2026-08-17 16:58:02 +00:00
agent-bot 1b31d4bf30 WIP checkpoint: Scaffold FastAPI backend project structure 2026-08-17 16:56:46 +00:00
agent-bot c1e7a44db9 WIP checkpoint: Scaffold FastAPI backend project structure 2026-08-17 16:55:03 +00:00
agent-bot 549c05f1c0 WIP checkpoint: Scaffold FastAPI backend project structure 2026-08-17 16:54:03 +00:00
agent-bot b0c35e1dca WIP checkpoint: Scaffold FastAPI backend project structure 2026-08-17 16:52:37 +00:00
agent-bot 355fdaff13 chore(backend): add env config template
Scaffolding only — FastAPI app, SQLAlchemy models, Alembic migrations,
and docker-compose from the original task description are still not
implemented. Committing what exists so it isn't lost; task ec0074121ca3
reset to pending to finish the rest.
2026-08-17 15:18:20 +00:00
-6
View File
@@ -1,7 +1,5 @@
from sqlalchemy import Column, Integer, String, Boolean, DateTime from sqlalchemy import Column, Integer, String, Boolean, DateTime
from sqlalchemy.orm import relationship
from sqlalchemy.sql import func from sqlalchemy.sql import func
from app.database import Base from app.database import Base
@@ -15,7 +13,3 @@ class User(Base):
is_active = Column(Boolean, default=True) is_active = Column(Boolean, default=True)
created_at = Column(DateTime(timezone=True), server_default=func.now()) created_at = Column(DateTime(timezone=True), server_default=func.now())
updated_at = Column(DateTime(timezone=True), onupdate=func.now()) updated_at = Column(DateTime(timezone=True), onupdate=func.now())
sessions = relationship("Session", back_populates="user", cascade="all, delete-orphan")
worlds = relationship("World", back_populates="owner")
assets = relationship("Asset", back_populates="owner")