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.5.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.5.tar.gz.
File metadata
- Download URL: migration_lint-0.2.5.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.11 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc3e9d268ee47c04c8fbc95169fec359fbec30a1aef816696f4eee9fd831473f
|
|
| MD5 |
2c94e295d629f4f7d09428f0d293a01e
|
|
| BLAKE2b-256 |
188a6ce2eac7150f8733e5f80cb30a63e007284bc4544f41028ee6b9c8d251e0
|
File details
Details for the file migration_lint-0.2.5-cp311-cp311-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.5-cp311-cp311-macosx_15_0_arm64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.11, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.11 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fc69f8f0625e8a328a6aa790fbaa218f77c78217bf944fc8191fe51fe46d375
|
|
| MD5 |
1b884e65d0d675f3a5158dcb8b67c189
|
|
| BLAKE2b-256 |
018719b63ec71cbd32b352ec5cadd8c02bf6842b9c2dd0a6b454a1f3ebaf0e6e
|