Initial commit - Migrated to Dev environment
This commit is contained in:
10
backend/app/db/base.py
Executable file
10
backend/app/db/base.py
Executable file
@@ -0,0 +1,10 @@
|
||||
from sqlalchemy.ext.asyncio import AsyncAttrs
|
||||
from sqlalchemy.orm import DeclarativeBase
|
||||
|
||||
|
||||
class Base(AsyncAttrs, DeclarativeBase):
|
||||
"""
|
||||
Base class for all SQLAlchemy models.
|
||||
Includes AsyncAttrs to support async attribute access (lazy loading).
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user