In this video tutorial we will setup the project using the fastapi-starter-kit and then we will create the models using the SQLAlchemy.
I will also walk you though the installing and configuring the Alembic to use the SQLAlchemy model for generating the migrations.
After configuration, we will execute the migration command and we will verify the table in MySQL database.
We will also learn what happens when you change (add or remove etc) any fields for the model that you have already generated the migration for. How to generate the migration for field change etc.
And in the end we will check how can we drop the entire database table using single command.
FastAPI-Starter-Kit project: https://github.com/Describly/fastapi-...
Final Project: https://github.com/Describly/fastapi-...
I will encourage you to start with the starter-kit project and then follow me along. This will you will learn every bit.
Nesta página do site você pode assistir ao vídeo on-line FastAPI (Python Framework) - Auto-Generating Migrations with Alembic & SQLAlchemy duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Describly 06 Outubro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,229 vezes e gostou 103 espectadores. Boa visualização!