Skip to main content

Tool for lint operations in DB migrations SQL

Project description

Migration Lint

ci status Coverage Py Version

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


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.10.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migration_lint-0.2.10-cp39-cp39-macosx_15_0_arm64.whl (7.3 MB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

Details for the file migration_lint-0.2.10.tar.gz.

File metadata

  • Download URL: migration_lint-0.2.10.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

Hashes for migration_lint-0.2.10.tar.gz
Algorithm Hash digest
SHA256 e3a9acb2b2008dcd4f87cf619ad90964532ab1c83b5af06f2e9f49b6418eff56
MD5 e217b23463ef44e5c8e6a75464b06944
BLAKE2b-256 4e917c881745eb8c8c9c8d85cb3010e0815e8efc3ee9cb201ae8b2ad9cda883b

See more details on using hashes here.

File details

Details for the file migration_lint-0.2.10-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for migration_lint-0.2.10-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 02961764277af8ac3d9c3cf0f81cf60806d16d915076af43a6c298046f19ed46
MD5 f050f8f436a51c5902cf38c5b7e36ecb
BLAKE2b-256 f50368416595c71c81a4da6ecef82b757d058f8ba0a730d2d9fa7be8b8d18950

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page