create-migration
Create Database Migration
Create a new database migration file. Arguments: $ARGUMENTS
Migration File Location
Create migration file under apps/core/src/migration/version/.
Naming format: v<major>.<minor>.<patch>.ts (e.g., v9.1.0.ts)
Migration File Template
import type { Db } from 'mongodb'
/**
* Migration description: <describe the purpose of this migration>
*
* Changes:
More from mx-space/core
zod-patterns
MX Space project Zod schema patterns. Apply when creating DTOs, validation schemas, or handling request validation.
37api-conventions
MX Space API design conventions. Apply when writing controllers, API endpoints, or handling HTTP requests.
33run-test
Run tests. Supports running all tests, single file, or pattern-matched tests.
1mx-review
Review code for MX Space project conventions. Checks NestJS patterns, TypeGoose models, Zod schemas, API design, etc.
1create-e2e-test
Create E2E test file for a specified module. Use when adding end-to-end tests for controllers.
1create-module
Create a new NestJS module with controller, service, model, and schema files. Use when adding new feature modules, API endpoints, or business domains.
1