Daniel Butler
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
{{cookiecutter.project_slug}}/backend/app/app/db/init_db.py
|
@ -3,7 +3,7 @@ from app.core import config |
|
|
from app.schemas.user import UserCreate |
|
|
from app.schemas.user import UserCreate |
|
|
|
|
|
|
|
|
# make sure all SQL Alchemy models are imported before initializing DB |
|
|
# make sure all SQL Alchemy models are imported before initializing DB |
|
|
# otherwise, SQL Alchemy might fail to initialize properly relationships |
|
|
# otherwise, SQL Alchemy might fail to initialize relationships properly |
|
|
# for more details: https://github.com/tiangolo/full-stack-fastapi-postgresql/issues/28 |
|
|
# for more details: https://github.com/tiangolo/full-stack-fastapi-postgresql/issues/28 |
|
|
from app.db import base |
|
|
from app.db import base |
|
|
|
|
|
|
|
|