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.8.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.8.tar.gz.
File metadata
- Download URL: migration_lint-0.2.8.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f978152f53cc0015245f18b22c832558c6367d8a47d59b6249e41edf1b1b71
|
|
| MD5 |
1238ff0490ab804bf92f7ae30758a51c
|
|
| BLAKE2b-256 |
bc302d6f496ee3c73d6453ec5ffcb745e5fa5144383ce222815d24133265b1ff
|
File details
Details for the file migration_lint-0.2.8-cp39-cp39-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.8-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.3 CPython/3.11.11 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84066994add31c3b4a83be1c2d62a1b2653070f2d4e991b0573bc428d50f40aa
|
|
| MD5 |
34c5e542c7997d3b14f1869482564906
|
|
| BLAKE2b-256 |
59c3573fd3f15fc416fb761b01c06700703a63eca98f8bda4663541f0f7590fb
|