SDL is currently supported for PostgreSQL databases only. Validation rules enforce strict conventions to ensure maintainable schema definitions.
Missing Schema Qualification
Error:- Tables:
CREATE TABLE public.users - Indexes:
CREATE INDEX idx_name ON public.users(name) - Views:
CREATE VIEW public.active_users AS ... - Functions:
CREATE FUNCTION public.get_user() ...
Column-Level Constraint
Error:Unnamed Constraint
Error:- Primary keys:
{table}_pkey - Unique constraints:
{table}_{column}_key - Foreign keys:
fk_{table}_{referenced_table} - Check constraints:
check_{description}
Foreign Key Type Mismatch
Error:Foreign Key Missing Schema
Error:CHECK Constraint References Other Table
Error:Migration Generation Fails
Error:- Duplicate constraint names across tables
- Duplicate index names
- Conflicting object names
Next Steps
SDL Develop Guide
Learn SDL syntax requirements
SDL Limitations
Understand SDL constraints
CI/CD Issues
Troubleshoot CI/CD problems

