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 e94eb72 commit 7f5a3d4Copy full SHA for 7f5a3d4
backend/app/core/db.py
@@ -16,10 +16,10 @@ def init_db(session: Session) -> None:
16
# Tables should be created with Alembic migrations
17
# But if you don't want to use migrations, create
18
# the tables un-commenting the next lines
19
- from sqlmodel import SQLModel
+ # from sqlmodel import SQLModel
20
21
# This works because the models are already imported and registered from app.models
22
- SQLModel.metadata.create_all(engine)
+ # SQLModel.metadata.create_all(engine)
23
24
user = session.exec(
25
select(User).where(User.email == settings.FIRST_SUPERUSER)
0 commit comments