mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
fix: Complete SQLAlchemy 2.0 migration - fix session parameter passing
- Update migration files to use SQLAlchemy 2.0 select() syntax - Fix RoomController to use select(RoomModel) instead of rooms.select() - Add session parameter to CalendarEventController method calls - Update ics_sync.py service to properly manage sessions - Fix test files to pass session parameter to controller methods - Update test assertions for correct attendee parsing behavior
This commit is contained in:
@@ -25,7 +25,8 @@ target_metadata = metadata
|
||||
# ... etc.
|
||||
|
||||
|
||||
# No need to modify URL, using sync engine from db module
|
||||
# don't use asyncpg for the moment
|
||||
settings.DATABASE_URL = settings.DATABASE_URL.replace("+asyncpg", "")
|
||||
|
||||
|
||||
def run_migrations_offline() -> None:
|
||||
|
||||
Reference in New Issue
Block a user