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.3.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.3.tar.gz.
File metadata
- Download URL: migration_lint-0.2.3.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.20 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5583e0e0b99d4ba834d19689e21f42192a93c9b90955a193be52612183d4be06
|
|
| MD5 |
031ef6628928cfb209d9938ee1314606
|
|
| BLAKE2b-256 |
5e707041d2e12dc545d314ed6b7dadc50d9c9abb538543ced38ea851aee8b17c
|
File details
Details for the file migration_lint-0.2.3-cp39-cp39-macosx_14_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.3-cp39-cp39-macosx_14_0_arm64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.9, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.20 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09c05726fa8a4f79a8b5acd6e297e12d6040d245b83ac5fef4ebeec79f443c2
|
|
| MD5 |
fe4843ca6cda135183213ccb6803b807
|
|
| BLAKE2b-256 |
f51f4ffa447bbc60f8be91c34be10eeef7c325bf78b713694e4cd6dffaeb79a8
|