database-migrations
Lucid models/migrations conventions and safe workflows. Use when changing schema or models.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Lucid models/migrations conventions and safe workflows. Use when changing schema or models.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run, write, and troubleshoot Japa browser tests that use Playwright; use when you add or change frontend functionality that should be covered by tests
Writing documentation. Use when key functionality is added or changed
Caching with @adonisjs/cache (keys, tags, invalidation). Use when adding or debugging cache behavior.
Frontend rules and React Router conventions. Use when working with frontend-related tasks.
Background job conventions (BullMQ via @rlanz/bull-queue). Use when adding or editing jobs.
AdonisJS service patterns (creation, registration, components). Use when adding or modifying services.
| name | database-migrations |
| description | Lucid models/migrations conventions and safe workflows. Use when changing schema or models. |
app/models, and all database interaction goes through these models.database/migrations.node ace make:migration <table name>
--alter to alter existing table, --create to create newnode ace make:model --migration [--factory] User
--factory flag can be used.node ace migration:fresh --seed instead of just migration:run when testing database changes to ensure a clean state.UUIDModel from app/models/mixins.js