We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d84fa commit f95135aCopy full SHA for f95135a
src/app/core/setup.py
@@ -104,6 +104,9 @@ async def lifespan(app: FastAPI) -> AsyncGenerator:
104
if isinstance(settings, RedisRateLimiterSettings):
105
await create_redis_rate_limit_pool()
106
107
+ if create_tables_on_start:
108
+ await create_tables()
109
+
110
initialization_complete.set()
111
112
yield
0 commit comments