Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Ruflo Migrations

Plugin Aktiv
Teil von:Ruflo

Schema migration management — generate, validate, dry-run, and rollback database migrations

2 Skills 0 MCPs
Zweck

To provide robust and safe management of database schema changes throughout the development lifecycle.

Funktionen

  • Generate sequential migrations with up/down SQL pairs
  • Validate pending migrations for consistency and safety
  • Dry-run SQL execution before applying changes
  • Rollback applied migrations
  • Track migration status and history

Anwendungsfälle

  • Creating new database schema changes
  • Ensuring database migrations are safe before deployment
  • Reverting database schema changes
  • Auditing the history of database schema modifications

Nicht-Ziele

  • Performing direct database operations beyond schema migration management
  • Providing generic SQL execution capabilities
  • Managing application-level data migrations

Praktiken

  • Schema Migration Management
  • SQL Validation
  • Rollback Safety

Documentation

  • info:Configuration & parameter referenceThe README details the CLI commands and their arguments, but default values for parameters like `--steps N` are not explicitly listed.

Code Execution

  • warning:ValidationWhile parameter shapes are likely handled by the CLI, the script logic for parsing SQL and performing validation might not use a formal schema library, and validation logic itself could be more robustly typed.

Security

  • warning:Unguarded Destructive OperationsWhile `migrate down` and `migrate validate` have warnings for destructive operations, the `migrate up` command, which applies changes, does not have an explicit `--dry-run` as the default, nor is there a clear confirmation prompt before executing potentially destructive migrations in a non-interactive setting.

Scope

  • warning:Dry-run previewWhile `migrate up` has a `--dry-run` option, it's not the default, and the plugin does not explicitly state if `migrate down` or other state-changing operations have a dry-run preview.

Protocol

  • info:Idempotent retry & timeoutsThe plugin uses `IF EXISTS`/`IF NOT EXISTS` for some operations, suggesting idempotency. Timeouts are not explicitly mentioned for remote calls, though none appear to be present.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-migrations@ruflo

Qualitätspunktzahl

77 /100
Analysiert about 22 hours ago

Vertrauenssignale

Letzter Commitabout 23 hours ago
Sterne50.2k
LizenzMIT
Status
Quellcode ansehen