New Migration banner
colossus-lab colossus-lab

New Migration

Development community

Description

# Create new migration: $ARGUMENTS Create an Alembic migration for the specified schema change. Follow these steps: ## 1. Create or modify the domain entity Edit or create in `src/app/domain/entities/`: ```python from dataclasses import dataclass, field from src.app.domain.entities.base import BaseEntity @dataclass class NewEntity(BaseEntity): field1: str = "" field2: int = 0 # BaseEntity already provides: id (UUID), created_at, updated_at ``` Reference: `src/app/domain/entitie

Installation

Installs to ~/.claude/commands/colossus-lab-openarg_backend-new-migration.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/colossus-lab/openarg_backend/HEAD/.claude/commands/new-migration.md -o ~/.claude/commands/colossus-lab-openarg_backend-new-migration.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository