- Add PRIMARY KEY to constraint types in features.json
- Update constraints API to handle PRIMARY KEY operations
- Add PRIMARY KEY to constraint listing query
- Add validation and tests for PRIMARY KEY constraints
- Add tests for DEFAULT value and NOT NULL in column management
- Update ROADMAP.md to mark PRIMARY KEY, DEFAULT, and NOT NULL as complete
- Update README.md with new constraint capabilities
- Update TESTING.md with comprehensive test coverage (105 total tests)
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Explain why parameterized queries cannot be used for ALTER TABLE
- Document that identifiers are validated to prevent SQL injection
- Address code review feedback about sql.raw() usage
- All 52 unit tests still passing
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Update ROADMAP.md with constraint management progress
- Update README.md with constraint manager feature
- Update TESTING.md with constraint test coverage (93 total tests)
- Fix linting issues in constraints API and featureConfig
- All 40 unit tests passing
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Add constraint-management feature to features.json
- Create /api/admin/constraints endpoint (GET, POST, DELETE)
- Support UNIQUE and CHECK constraints
- Add getConstraintTypes() utility function
- Add integration tests for constraints API
- Add unit tests for constraint types
- Follow CODE_STYLE.md guidelines
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>