awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ankane avatar

ankane/strong_migrations

0
View on GitHub↗
4,411 stars·196 forks·Ruby·MIT·16 views

Strong Migrations

Strong Migrations is a PostgreSQL migration safety tool designed to prevent production downtime by detecting and blocking risky schema changes. It serves as a schema validator that identifies dangerous database operations and suggests safe alternatives to ensure zero-downtime deployments.

The project distinguishes itself by acting as a database lock manager and index optimizer. It manages statement timeouts and implements automatic retry logic for lock timeouts to prevent database congestion. Additionally, it provides utilities to clean up invalid concurrent indexes and update table statistics after schema changes to maintain query planner performance.

The tool covers a broad range of database management capabilities, including safety validation with customizable rules, automated migration patterns, and structural schema organization such as column alphabetization. It uses version-aware validation to align safety checks with the specific capabilities of the target database engine.

Features

  • PostgreSQL Schema Migrations - Detects and blocks risky schema changes in PostgreSQL to ensure zero-downtime deployments.
  • Schema Migration Validation - Identifies risky database operations and suggests safe patterns to prevent production downtime.
  • Safe Pattern Automation - Automatically executes dangerous operations using safe alternatives without requiring changes to the original migration code.
  • Database Lock Mitigation - Prevents migrations from blocking application traffic by managing statement timeouts and retry logic.
  • Database Migration Safety - Identifies dangerous operations during development to ensure safe execution patterns before production.
  • Zero-Downtime Schema Migrations - Prevents production outages by detecting and blocking risky schema changes that could lock tables.
  • Lock and Statement Timeout Management - Sets lock and statement timeouts to prevent migrations from blocking active database operations.
  • Migration Lock Managers - Implements statement timeouts and automatic retry logic for lock timeouts to prevent database congestion during migrations.
  • Migration Safety Validators - Identifies risky SQL patterns and suggests safe alternatives to prevent production downtime during deployments.
  • Lock Timeout Retries - Automatically retries migration statements that fail due to database lock timeouts to prevent deployment failure.
  • Automatic Task Retries - Automatically re-executes migration statements when they encounter database lock timeouts.
  • Table Performance Optimizers - Updates database statistics after schema changes to maintain consistent query performance and planning.
  • Target Version Configuration - Allows specifying target database versions to align safety checks with engine capabilities.
  • Version-Aware Validation - Matches migration patterns against a registry of safe features specific to the target database engine version.
  • Post-Migration Statistics Refresh - Triggers database analyze commands after index creation to maintain optimal query planner performance.
  • Concurrent Index Cleanup - Provides utilities to clean up invalid concurrent indexes and update table statistics after schema changes.
  • Invalid Index Cleanup - Removes invalid indexes created by failed concurrent index additions before retrying the migration.
  • Method Interception Proxies - Wraps standard database migration methods to inject safety checks and safe-pattern replacements at runtime.
  • Static Analysis AST Parsing - Uses abstract syntax tree parsing to identify dangerous database operations in migration source code before execution.

Star history

Star history chart for ankane/strong_migrationsStar history chart for ankane/strong_migrations

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does ankane/strong_migrations do?

Strong Migrations is a PostgreSQL migration safety tool designed to prevent production downtime by detecting and blocking risky schema changes. It serves as a schema validator that identifies dangerous database operations and suggests safe alternatives to ensure zero-downtime deployments.

What are the main features of ankane/strong_migrations?

The main features of ankane/strong_migrations are: PostgreSQL Schema Migrations, Schema Migration Validation, Safe Pattern Automation, Database Lock Mitigation, Database Migration Safety, Zero-Downtime Schema Migrations, Lock and Statement Timeout Management, Migration Lock Managers.

Which projects share features with ankane/strong_migrations?

Projects with overlapping indexed features include: go-pg/pg — pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent… rvagg/node-worker-farm — Node-worker-farm is a framework for distributing intensive computational tasks across a managed pool of background… jrallison/go-workers — Go-workers is a background job processor for Go applications that coordinates asynchronous task execution using Redis… avast/retry-go — Retry-go is a utility library for Go that automates the re-execution of failing code blocks and operations until they… inngest/inngest — Inngest is a durable execution framework and event-driven automation engine designed to orchestrate background… weiye-jing/datax-web — DataX Web is a web-based management platform for scheduling, building, executing, and monitoring distributed data…

Projects sharing features with Strong Migrations

These projects share indexed features with Strong Migrations. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • go-pg/pggo-pg avatar

    go-pg/pg

    5,785View on GitHub↗

    pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc

    Go
    View on GitHub↗5,785
  • rvagg/node-worker-farmrvagg avatar

    rvagg/node-worker-farm

    1,739View on GitHub↗

    Node-worker-farm is a framework for distributing intensive computational tasks across a managed pool of background processes. By offloading heavy operations to independent child processes, it enables concurrent execution and prevents the main event loop from becoming blocked, allowing applications to maximize CPU utilization across available processor cores. The library distinguishes itself through a proxy-based interface that maps local function calls directly to exported methods within remote worker modules. This abstraction simplifies the distribution of work by treating background tasks a

    JavaScript
    View on GitHub↗1,739
  • inngest/inngestinngest avatar

    inngest/inngest

    5,499View on GitHub↗

    Inngest is a durable execution framework and event-driven automation engine designed to orchestrate background workflows. It enables developers to build resilient, stateful processes by memoizing function steps, ensuring that long-running tasks can automatically resume from the last successful operation after failures, timeouts, or infrastructure restarts. The platform distinguishes itself through its event-driven architecture, which uses a schema-validated bus to trigger functions and coordinate complex, multi-step logic. It employs an onion-model middleware approach for cross-cutting concer

    Go
    View on GitHub↗5,499
  • avast/retry-goavast avatar

    avast/retry-go

    2,929View on GitHub↗

    Retry-go is a utility library for Go that automates the re-execution of failing code blocks and operations until they succeed or exhaust configured attempt limits. It provides mechanisms for handling transient failures, capturing both computed results and final errors from repeatedly executed functions. The library supports configurable retry timing through fixed intervals, exponential backoff strategies, and randomized jitter to control recovery speed and prevent overwhelming recovering services. It also includes error filtering rules that trigger retries on specific error conditions while h

    Gogogolanghacktoberfest
    View on GitHub↗2,929
  • Compare all 30 related projects→

    Curated searches featuring Strong Migrations

    Hand-picked collections where Strong Migrations appears.
    • PostgreSQL Database Tools
    • Database Schema Migration Tools