← スキル一覧に戻る

database-migration
by jakewaldrip
Dotfile configuration for my environment
⭐ 3🍴 0📅 2026年1月7日
SKILL.md
name: database-migration description: Create a migration to add, remove, or edit columns, tables, or indexes in the database
What I do
- Create database migrations
- Add or remove columns
- Add or remove indexes
- Add or remove tables
When to use me
Use this when you are editing the database in any way. This can include adding, removing, or editing columns, tables, or indexes
Context
We are using Postgres in a typescript backend. The migrations are written in typescript leveraging Knex
Steps
- Run
npm run migrate:make name-of-migrationin the shell, wherename-of-migrationis the name of the migration - Open this file and you will find a blank Knex migration
- Search in
migrations/models/examplesfor existing examples of what you are trying to do, and use this as a template for your migration - Fill the migration file in with your changes
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です