Skip to main content

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


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

Uploaded Source

Built Distribution

migration_lint-0.1.2-cp39-cp39-macosx_14_0_arm64.whl (7.3 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

File details

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

File metadata

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

Hashes for migration_lint-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b4e4d1c63038013287ef82dfdb9ed8e1f783d67202f15bc69784dfe24570da68
MD5 5d5299d52ce181c5896fa19d891727e5
BLAKE2b-256 a496cd6914cee116ec96e2f29edcb2bd94449c8a2bdf960c3691f754aa16db2f

See more details on using hashes here.

File details

Details for the file migration_lint-0.1.2-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for migration_lint-0.1.2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 651065fd07eaafe4a71c730f22184728f7bc75952409bc963c1896b66434b757
MD5 5bbf96d70ef433dc03e5d6545465effe
BLAKE2b-256 e37df37d60d984c742b8b8b1c2eb1e64c64a197f2242aec98dd1ce9f9996ef30

See more details on using hashes here.

Supported by

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