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.9.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.9.tar.gz.
File metadata
- Download URL: migration_lint-0.2.9.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 |
c5617c3a91549b8d038209149e025b10d3e505dca194eb8f96d63116d3c032a0
|
|
| MD5 |
5e940144ff5e2577fcb20cb96d73de16
|
|
| BLAKE2b-256 |
72cd3347986d88b941f377f145c2ae3c49ef99a4deb3f8b3076bcca4e8e6baa9
|
File details
Details for the file migration_lint-0.2.9-cp39-cp39-macosx_15_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.9-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 |
625a0f88ccf5ad4ff61e052d1db0b08c2b28b5d3e0ef9e9e4d90d28785e76bf2
|
|
| MD5 |
33cfb96228fcdd06c9c19e9d5ff160f7
|
|
| BLAKE2b-256 |
f25ecf765921c48180c2cf5d2006a572b7374b537040207523510ff3f3a48ca7
|