All checks were successful
- Implement SQLite DDL writer to convert PostgreSQL schemas to SQLite-compatible SQL statements. - Include automatic schema flattening, type mapping, auto-increment detection, and function translation. - Add templates for creating tables, indexes, unique constraints, check constraints, and foreign keys. - Implement tests for writer functionality and data type mapping.
5 lines
195 B
Cheetah
5 lines
195 B
Cheetah
-- Check constraint: {{.Name}}
|
|
-- {{.Expression}}
|
|
-- Note: SQLite supports CHECK constraints in CREATE TABLE or ALTER TABLE ADD CHECK
|
|
-- This must be added manually to the table definition above
|