Skip to content

Conversation

@RobbieMcKinstry
Copy link
Contributor

FEATURE: Add remaining features for Python SQLModel code generation

Implements several remaining features from the design document:

  • Default factory for datetime columns with now() defaults (timezone-aware)
  • Module prefix support for import paths in multi-file mode
  • Generated columns with SQLAlchemy Computed support
  • User-defined type detection (maps to str as fallback)
  • Pydantic base models via generate_base_models config
  • Relationship generation for foreign keys with back_populates

Also updates the design document to reflect current implementation status.

https://claude.ai/code/session_01Rk2mNUxaCsiqTBQZB1sLuW

FEATURE: Add remaining features for Python SQLModel code generation

Implements several remaining features from the design document:

- Default factory for datetime columns with now() defaults (timezone-aware)
- Module prefix support for import paths in multi-file mode
- Generated columns with SQLAlchemy Computed support
- User-defined type detection (maps to str as fallback)
- Pydantic base models via generate_base_models config
- Relationship generation for foreign keys with back_populates

Also updates the design document to reflect current implementation status.

https://claude.ai/code/session_01Rk2mNUxaCsiqTBQZB1sLuW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants