What problem does it solve?
This Skill provides a comprehensive guide for designing and enforcing robust database models with clear naming conventions, appropriate data types, constraints, and relationships to ensure data integrity across the JasaWeb architecture.
Core Features & Use Cases
- Establishing consistent naming conventions for models and tables (singular model names, plural table names) to reduce ambiguity.
- Enforcing data type guidelines, constraints, and cascade relationship patterns to ensure data integrity and predictable behavior.
- Providing testing patterns and integration rules to validate models and relationships across services.
- Use Case: When adding a new domain entity, follow these standards to generate a Prisma schema, define relationships, and implement necessary constraints.
Quick Start
Create a Prisma model for a new domain entity following the naming conventions, data types, and constraints described above.