スキル一覧に戻る
jakewaldrip

database-migration

by jakewaldrip

Dotfile configuration for my environment

3🍴 0📅 2026年1月7日
GitHubで見るManusで実行

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

  1. Run npm run migrate:make name-of-migration in the shell, where name-of-migration is the name of the migration
  2. Open this file and you will find a blank Knex migration
  3. Search in migrations/models/examples for existing examples of what you are trying to do, and use this as a template for your migration
  4. 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

レビュー

💬

レビュー機能は近日公開予定です