Files
thoughts/thoughts-backend/models
Gabriel Kaszewski b83b7acf1c feat: Refactor user and thought models to use UUIDs instead of integers
- Updated user and thought models to utilize UUIDs for primary keys.
- Modified persistence functions to accommodate UUIDs for user and thought IDs.
- Implemented tag functionality with new Tag and ThoughtTag models.
- Added migration scripts to create new tables for tags and thought-tag relationships.
- Enhanced thought creation to parse hashtags and link them to thoughts.
- Updated tests to reflect changes in user and thought ID types.
2025-09-06 15:29:38 +02:00
..

models

No axum or api dependencies should be introduced into this folder. Only dependencies for modelling are allowed:

  • serde (JSON serialization/deserialization)
  • SeaORM (domain models and database)
  • validator (parameter validation)
  • utoipa (openapi)

SeaORM

Write migration files first, then generate models.