Context
Right now, ormshift only supports creating primary keys besides the table columns. To be considered production-ready, it would be a good idea to start supporting other types of constraints.
Requirements
Start supporting more constraint types, improving the schema features and changing the DDL generators.
Table level:
Primary keys (already supported)
- Foreign keys
- Unique keys
Column level:
Not null (already supported)
- Checks
- Default values
Context
Right now, ormshift only supports creating primary keys besides the table columns. To be considered production-ready, it would be a good idea to start supporting other types of constraints.
Requirements
Start supporting more constraint types, improving the schema features and changing the DDL generators.
Table level:
Primary keys(already supported)Column level:
Not null(already supported)