II.
Workflow overview
Reference · liveworkflow:schema-migration
Schema Migration overview
Safe, audited workflow for evolving database schemas in production without downtime or data loss. The data engineer authors a migration script and a corresponding rollback script, both reviewed by a backend engineer for correctness and performance impact on large tables. Migrations are tested against a production-sized data snapshot in a staging environment with execution-time profiling. The migration is applied to production in a maintenance window or via a zero-downtime strategy (expand-contract pattern), and automated integrity checks verify row counts and index health after completion.
Attributes
displayName
Schema Migration
description
Safe, audited workflow for evolving database schemas in production without downtime
or data loss. The data engineer authors a migration script and a corresponding rollback
script, both reviewed by a backend engineer for correctness and performance impact on
large tables. Migrations are tested against a production-sized data snapshot in a
staging environment with execution-time profiling. The migration is applied to production
in a maintenance window or via a zero-downtime strategy (expand-contract pattern),
and automated integrity checks verify row counts and index health after completion.
workflowKind
development
triggerType
on-demand
typicalCadence
per-feature
complexity
complex
Outgoing edges
applies_to_domain5
- domain:data-engineering·DomainData Engineering
- domain:databases·DomainDatabases
- domain:platform-engineering·DomainPlatform Engineering
- domain:databases·DomainDatabases
- domain:platform-engineering·DomainPlatform Engineering
involves_role10
- role:data-engineer·RoleData Engineer
- role:backend-engineer·RoleBackend Engineer
- role:sre·RoleSRE
- role:tech-lead·RoleTech Lead
- role:database-administrator·RoleDatabase Administrator
- role:db-migrator·RoleDB Migrator
- role:tech-lead·RoleTech Lead
- role:database-administrator·RoleDatabase Administrator
- role:db-migrator·RoleDB Migrator
- role:tech-lead·RoleTech Lead
performed_by_org_unit4
- org-unit:database-team·OrgUnitDatabase Team
- org-unit:engineering·OrgUnitEngineering
- org-unit:database-team·OrgUnitDatabase Team
- org-unit:engineering·OrgUnitEngineering
requires_skill_area4
- skill-area:database-migrations-zero-downtime·SkillAreaZero-Downtime Database Migrations
- skill-area:postgres-tuning·SkillAreaPostgres Performance Tuning
- skill-area:database-migrations-zero-downtime·SkillAreaZero-Downtime Database Migrations
- skill-area:postgres-tuning·SkillAreaPostgres Performance Tuning
triggers_responsibility4
- responsibility:approve-deploys·ResponsibilityApprove production deploys
- responsibility:review-architecture-changes·ResponsibilityReview architecture changes
- responsibility:approve-deploys·ResponsibilityApprove production deploys
- responsibility:review-architecture-changes·ResponsibilityReview architecture changes
Incoming edges
follows_workflow3
- stack-profile:crm-customer-platform·StackProfileCRM / Customer Platform Stack (Next.js, PostgreSQL, Redis, Elasticsearch, Stripe)
- stack-profile:multi-tenant-saas-backend·StackProfileMulti-Tenant SaaS Backend Stack (NestJS, Prisma, PostgreSQL, Redis, Stripe, Docker)
- stack-profile:event-sourcing-cqrs·StackProfileEvent Sourcing / CQRS Stack (TypeScript, NestJS, PostgreSQL, Redis, Docker)
lib_implements_workflow1
- lib-process:data-engineering-analytics--ab-testing-pipeline·LibraryProcessspecializations/data-engineering-analytics/ab-testing-pipeline
supports_work4
- tool:saleor·ToolSaleor
- tool:neon·ToolNeon
- tool:supabase·ToolSupabase
- tool-server:mcp-neon-candidate·ToolServerNeon MCP candidate