Atlas Schema Definition
Defines and manages database schemas using HCL, SQL, and ORM declarations within the Atlas ecosystem.
This skill empowers developers to design, document, and implement database schemas using Atlas's native HCL syntax or traditional SQL and ORM patterns. It provides specialized guidance on creating robust table structures, managing complex relationships via foreign keys, optimizing performance through indexes, and maintaining consistency with check constraints. Whether you are building a new project or migrating existing data, this skill ensures your schema follows industry best practices while leveraging Atlas's powerful migration engine for PostgreSQL, MySQL, and SQLite.
Key Features
01Relationship modeling with foreign keys, constraints, and composite indexes
02Comprehensive data type references for PostgreSQL, MySQL, and SQLite
03Support for SQL DDL and ORM-to-schema integration for Prisma and GORM
04Native Atlas HCL syntax guidance for declarative schema-as-code
05Standardized migration project structure and configuration patterns
060 GitHub stars
Use Cases
01Integrating existing Prisma or GORM models into an Atlas-managed migration workflow
02Converting legacy SQL schemas into Atlas HCL for improved version control
03Designing complex multi-table relationships with cascading deletes and unique constraints