SKILL

database-migrations

Buenas prácticas de migración de base de datos para cambios de esquema, migraciones de datos, rollbacks y despliegues de tiempo cero en PostgreSQL, MySQL y ORMs comunes (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).

Original · translation is not supported for this source language

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original text

Topics in the source

  • Patrones de Migración de Base de Datos
  • Cuándo Activar
  • Principios Fundamentales
  • Lista de Verificación de Seguridad de Migración
  • Patrones PostgreSQL
  • Agregar una Columna de Forma Segura
  • Agregar un Índice Sin Tiempo de Inactividad
  • Renombrar una Columna (Zero-Downtime)

Cambios de esquema de base de datos seguros y reversibles para sistemas de producción. Crear o alterar tablas de base de datos Agregar/eliminar columnas o índices Ejecutar migraciones de datos (backfill, transformación) Planificar cambios de esquema de tiempo cero (zero-downtime) Configurar herramientas de migración para un nuevo proyecto 1. Cada cambio es una migración — nunca alterar bases de datos de producción manualmente 2. Las migraciones son solo hacia adelante en producción — los rollbacks usan nuevas migraciones hacia adelante 3. Las migraciones de esquema y de datos son separadas — nunca mezclar DDL y DML en una migración 4. Probar migraciones contra datos de tamaño de producción — una migración que funciona en 100 filas puede bloquear en 10M 5. Las migraciones son inmutables una vez desplegadas — nunca editar una migración que ya se ejecutó en producción Antes de aplicar cualquier migración: [ ] La migración tiene tanto UP como DOWN (o está marcada explícitamente como irreversible) [ ] Sin bloqueos de tabla completa en tablas grandes (usar operaciones concurrentes) [ ] Las nuevas columnas tienen valores predeterminados o son nullable (nunca agregar NOT NULL sin valor pre

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
docs/es/skills/database-migrations/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:48.728Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.