← Back to list

squash-table
by unsafe9
Claude Code plugin for language learning and analysis
⭐ 0🍴 0📅 Jan 7, 2026
SKILL.md
name: squash-table description: Squash database table migration versions in server/src/database.ts. Consolidates multiple migrations into a single initial migration while preserving the final schema.
Squash Database Migrations
Purpose
This skill helps consolidate multiple database migrations into a single migration when the schema has stabilized. This is useful during development to clean up migration history.
Target File
server/src/database.ts
How to Use
Tell Claude what changes to make, for example:
- "Squash all migrations into a single initial migration"
- "Combine migrations 1-3 into one"
- "Reset migrations to version 1 with current schema"
What This Skill Does
- Read
server/src/database.tsto understand current migrations and schema - Consolidate schema into a single migration (version 1)
- Update the MIGRATIONS array with the squashed version
Important Notes
- Data Loss Warning: Squashing migrations requires resetting the database
- After squashing, delete the existing database:
rm ~/.config/lingo/data.db - The new single migration will recreate the schema from scratch
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon