mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-02-16 20:26:18 +00:00
sync
This commit is contained in:
7
backend/app/models/user.py
Normal file
7
backend/app/models/user.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .base import BaseModel
|
||||
from sqlalchemy.orm import relationship
|
||||
|
||||
class User(BaseModel):
|
||||
__tablename__ = "users"
|
||||
|
||||
plans = relationship("Plan", back_populates="user")
|
||||
Reference in New Issue
Block a user