Skip to content
Back to skills

Db Migrations

ASecurity

Create a database migration with Drizzle on a fresh Neon branch. Use when changing the packages/db schema or generating migrations.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentsgosqlgitdatabase

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill db-migrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Db Migrations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Db Migrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-db-migrations/badge)](https://www.skillsdirectory.com/skills/thedixitjain-db-migrations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: db-migrations
description: "Create a database migration with Drizzle on a fresh Neon branch. Use when changing the packages/db schema or generating migrations."
category: ai-agents-and-harness
source_repo: superset-sh/superset
source_path: ".agents/skills/db-migrations/SKILL.md"
source_url: https://github.com/superset-sh/superset/blob/HEAD/.agents/skills/db-migrations/SKILL.md
---


# DB migrations

- Always spin up a new neon branch to create migrations. Update our root .env files to point at the neon branch locally.
- Use drizzle to manage the migration. You can see the schema at packages/db/src/schema. Never run a migration yourself.
- Create migrations by changing drizzle schema then running `bunx drizzle-kit generate --name="<sample_name_snake_case>"`
- `NEON_ORG_ID` and `NEON_PROJECT_ID` env vars are set in .env
- list_projects tool requires org_id passed in
- **NEVER manually edit files in `packages/db/drizzle/`** - this includes `.sql` migration files, `meta/_journal.json`, and snapshot files. These are auto-generated by Drizzle. If you need to create a migration, only modify the schema files in `packages/db/src/schema/` and ask the user to run `drizzle-kit generate`.

---

**Source:** [`superset-sh/superset`](https://github.com/superset-sh/superset) → `.agents/skills/db-migrations/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.