FastAPI (Python Framework) - Auto-Generating Migrations with Alembic & SQLAlchemy

Veröffentlicht am: 06 Oktober 2023
auf dem Kanal: Describly
5,229
103

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.


Auf dieser Seite können Sie das Online-Video FastAPI (Python Framework) - Auto-Generating Migrations with Alembic & SQLAlchemy mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Describly 06 Oktober 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,229 Mal angesehen und es wurde von 103 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!