Zum Hauptinhalt wechseln
https://catalogartifact.azureedge.net/publicartifacts/kcloudhubllc1763357129530.alembic-a01c7bb5-f34b-4d37-be47-ce94d7b0e4fe/image2_kCloud216.png

Alembic on Ubuntu 24.04

durch kCloudHub LLC

Version 1.18.4 + Free Support on Ubuntu 24.04

Alembic is an open-source database migration tool designed for SQLAlchemy-powered Python applications. It enables developers to create, manage, and apply version-controlled database schema migrations, making it easier to maintain and evolve databases during application development and deployment.

Key Features of Alembic:

  • Database schema migration management for SQLAlchemy projects.
  • Version-controlled migration history tracking.
  • Supports automatic and manual migration generation.
  • Compatible with MySQL, PostgreSQL, SQLite, and other databases.
  • Command-line interface for migration operations.
  • Transactional DDL support for supported database systems.
  • Easy integration with Flask, FastAPI, and Python applications.
  • Suitable for development, testing, and production environments.

Alembic Usage:

$ python3 -m venv alembic-env
$ source alembic-env/bin/activate
$ pip install alembic
$ alembic init migrations
$ alembic revision -m "initial migration"
$ alembic upgrade head

To Check Installed Alembic Version:

$ alembic --version

Disclaimer:
Alembic is an open-source database migration tool developed and maintained by its respective contributors. This content is provided for informational purposes only. We are not affiliated with or endorsed by Alembic. All trademarks and product names belong to their respective owners.