migration-close

Community

Automate post-migration checks for new tables.

AuthorRwb3n
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Post-migration checks to ensure new tables are included in truncation lists, run db:custom-sql, and optionally verify that tables exist after drizzle migrations.

Core Features & Use Cases

  • Diff new migration tables against TRUNCATE_ALL_TABLES_SQL and DELETE_ALL_TABLES_SQL to catch missing entries and ensure test-utils.ts integrity.
  • Provide exact edits for test-utils.ts in reverse-FK order when new tables are not present in the lists.
  • Run db:custom-sql after drizzle-kit push to apply custom extensions, triggers, and indexes.
  • Optionally verify new tables exist in the database and report results.
  • Produce a concise summary of new tables, list status, custom-sql execution, and verification results.

Quick Start

After completing a migration, run the migration-close check to validate truncation lists, apply custom SQL, and optionally verify table existence.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migration-close
Download link: https://github.com/Rwb3n/callsheet/archive/main.zip#migration-close

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.