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.2.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.2.tar.gz.
File metadata
- Download URL: migration_lint-0.2.2.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 |
d2048b885a1601fe14221357be183c86b988aa37cba769ec304c015c93649514
|
|
| MD5 |
fa6edefcbd17b1bbce4bcebd8c9f2080
|
|
| BLAKE2b-256 |
741b12ec131ab7f3a85e9548dc158298ae9e1c104c97b2cd0ead2ab4021a4121
|
File details
Details for the file migration_lint-0.2.2-cp39-cp39-macosx_14_0_arm64.whl.
File metadata
- Download URL: migration_lint-0.2.2-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 |
82e2b3035e763e8a4cce5d48f1814b0745c7caabd775db1022ce03d84fd4df5e
|
|
| MD5 |
95a274782d403528d20366131b98e810
|
|
| BLAKE2b-256 |
5032e5cfcf3736789d2c06fb48b3307b5ea4765850ce1e35af0b1fc4b24cd1c6
|