migraciones

Automates database migrations in FacturaScripts, including data changes and cleanup tasks for plugins.

7|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill migraciones
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migraciones
Source: https://github.com/FacturaScripts/fs-claude-plugin/tree/main/fs-dev/skills/migraciones
Command: npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill migraciones

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and executing database migrations in FacturaScripts, ensuring data integrity and efficient updates to your database.

Core Features & Use Cases

  • Database Migrations: Execute data changes in a controlled manner, once, after installing or updating a plugin.
  • Use Case: When updating a plugin, this Skill can automatically fill in new fields with default values, normalize data, or clean up old records.

Quick Start

Run the 'migraciones' skill to apply all pending database migrations for your FacturaScripts instance.

Frequently Asked Questions about migraciones

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate database migrations in FacturaScripts after a plugin update?

To automate database migrations in FacturaScripts, you can execute the migration skill to apply pending data changes, reformatting, and cleanup tasks once after installing or updating a plugin.

When do I need to run database migrations for FacturaScripts?

You need to run database migrations for FacturaScripts when updating a plugin, specifically to fill new fields with default values, normalize existing data, or clean up old records to maintain data integrity.

What is the best way to handle data integrity during FacturaScripts plugin updates?

The best way to handle data integrity during FacturaScripts plugin updates is by executing controlled database migrations that automatically manage data changes and reformatting in a structured manner.

Do I need direct database access to execute SQL queries for FacturaScripts migrations?

Yes, you need direct access to the FacturaScripts database and the ability to execute SQL queries to run the automated migrations and apply the required data changes.

Can I use this approach to clean up old records and normalize data in FacturaScripts?

Yes, you can use database migrations in FacturaScripts to normalize data, fill in new fields with default values, and clean up old records automatically during plugin updates.

What are the limitations of automating data changes with SQL execution in FacturaScripts?

The automation relies on SQL execution and direct database access, meaning migrations are designed to run once per plugin update and do not handle continuous data synchronization outside of the FacturaScripts environment.