Fixed database initialization. (#43)
Description:
* Added function to populate tables on startup for sqlalchemy and ormar.
* Added tortoise startup parameter.
* Fixed tortoise config.
* Fixed k8s config files.
Signed-off-by:
Pavel Kirilin <win10@list.ru>
Showing
- fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/app.yml 3 additions, 3 deletions...emplate/{{cookiecutter.project_name}}/deploy/kube/app.yml
- fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/db.yml 2 additions, 1 deletion...template/{{cookiecutter.project_name}}/deploy/kube/db.yml
- fastapi_template/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/db_tortoise/config.py 1 addition, 1 deletion...ame}}/{{cookiecutter.project_name}}/db_tortoise/config.py
- fastapi_template/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/web/application.py 8 additions, 1 deletion...t_name}}/{{cookiecutter.project_name}}/web/application.py
- fastapi_template/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/web/lifetime.py 39 additions, 1 deletion...ject_name}}/{{cookiecutter.project_name}}/web/lifetime.py
Loading
Please register or sign in to comment