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.13.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.13.tar.gz.
File metadata
- Download URL: migration_lint-0.2.13.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.11 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa39678a7a4f7af341167851b94a362e72df371177bed824a6da78d844d32f13
|
|
| MD5 |
93b83382af64b3bf25fc705f5ba5749b
|
|
| BLAKE2b-256 |
403f2959f3f09551ec33d0020cdb0d326f096dba39ed45bf9218e9d56da32107
|
File details
Details for the file migration_lint-0.2.13-cp312-cp312-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.13-cp312-cp312-macosx_15_0_arm64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.12, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.11 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b5c20a66fbc0c1669e54fd5ad0b70c5d17848c36f11505d34b399ae2063fdac
|
|
| MD5 |
00bc79ec346be6ed20235ed7d79beef8
|
|
| BLAKE2b-256 |
9dcb653bddec35eec26dd9d4818e137121857c5c9abbf1025e6d377324092309
|