menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Cheat shee...
source image

Dev

7d

read

20

img
dot

Image Credit: Dev

Cheat sheet of 'Alembic' commands

  • alembic init alembic: This command is used to set up Alembic in your project.
  • alembic.ini and env.py: These files are used for configuring the database URL.
  • alembic revision --autogenerate: This command generates a new migration script by comparing models and the database.
  • alembic upgrade head: Run this command to apply migrations and make changes to the database.

Read Full Article

like

1 Like

For uninterrupted reading, download the app