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.11.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.11.tar.gz.
File metadata
- Download URL: migration_lint-0.2.11.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 |
1c88457a1dd1a2043861c0300146838ecc932919a73b4c79a1d6288c72ace958
|
|
| MD5 |
78f58363d5f1533c5346ba5be1bd7311
|
|
| BLAKE2b-256 |
c7fd21f570aaef88d2a78a195c1456ef16ab394019c5ffd4aba7ac63c6df476d
|
File details
Details for the file migration_lint-0.2.11-cp39-cp39-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.11-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 |
83653eae087655d6fbb55e5f8517263a48ad6a08474503035cc66d5e2a21c069
|
|
| MD5 |
bd980189bf2e814984abe6e2797470c5
|
|
| BLAKE2b-256 |
be6c766432e2f8cebc4763e0ce754c21973505877b6e6d936f4830fb15c1a232
|