Tool for lint operations in DB migrations SQL
Project description
Migration Lint
migration-lint is the modular linter tool designed
to perform checks on database schema migrations
and prevent unsafe operations.
Features:
- Works with Django migrations, Alembic and raw sql files.
- Easily extensible for other frameworks.
- Can identify Backward Incompatible operations and check if they are allowed in the current context.
- Can identify "unsafe" operations, e.g. operations that acquire locks that can be dangerous for production database.
Installation
poetry add "migration-lint"
pip install "migration-lint"
Documentation
Read the docs on GitHub Pages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
migration_lint-0.2.12.tar.gz
(7.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file migration_lint-0.2.12.tar.gz.
File metadata
- Download URL: migration_lint-0.2.12.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.4 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94e0983aa4ef5d101219edf00f242ad5267e2cb9b293681b53cd7d4d2e07d232
|
|
| MD5 |
fd066017f4f7850194ca632a6e1207fe
|
|
| BLAKE2b-256 |
9194b2d0da4153af7ae2deb4f557b213ac5ca1da31162a583deded079e519006
|
File details
Details for the file migration_lint-0.2.12-cp39-cp39-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.12-cp39-cp39-macosx_15_0_arm64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.9, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.4 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
283d79206eaabc7a1c4289c3b49b99cd454fee31bd0f3d9075428bcb55d7ff9c
|
|
| MD5 |
51f9baf3e9a666895d66a8111bf41c19
|
|
| BLAKE2b-256 |
e0e46a8acdee3bde0d3f9fd681ec5781d635caef1839f08f7b6d6951b6f04698
|