← スキル一覧に戻る

database-migrations
by matt-riley
Personal URL shortening service - Entirely written by Copilot
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: database-migrations description: Create, apply, and rollback goose migrations for SQLite using the embedded migrate tool. license: MIT compatibility: Requires bash, git, Go, make, and DATABASE_URL set. metadata: repo: mjrwtf runner: github-copilot-cli version: 1.2 allowed-tools: Bash(git:) Bash(make:) Bash(go:) Bash(curl:) Read
Key facts for this repo
- Migrations live in
internal/migrations/sqlite/. - Migrations are embedded into the
bin/migratetool at build time. DATABASE_URLmust point at the SQLite database file you intend to migrate.
Common workflows
Apply migrations
export DATABASE_URL=./database.db
make build-migrate
make migrate-up
Check migration status
make migrate-status
Roll back one migration
make migrate-down
Create a new migration
make migrate-create NAME=add_feature_x
Then implement it in:
internal/migrations/sqlite/<timestamp>_add_feature_x.sql
Checklist
- Write both Up and Down.
- Rebuild migrate tool (
make build-migrate). - Verify
upanddownagainst a local DB.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です