SQLModel Expert Advanced SQLModel patterns and comprehensive Alembic migrations for production databases. Quick Start Define a Basic Model Initialize Database Create Migration Core Topics 1. Advanced Model Patterns See: references/advanced-models.md - Relationships : One-to-many, many-to-many, self-referential - Inheritance : Single table, joined table, polymorphism - Validation : Pydantic validators, custom constraints - Mixins : Timestamp, soft delete, reusable patterns - Field Types : Enums, JSON, arrays, custom types - Indexes : Single, composite, partial indexes - Constraints : Unique, c…