Commit Graph

19 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
f070883a75 docs: Update constraint management description to include PRIMARY KEY
- Update features.json description to reflect PRIMARY KEY support
- Address code review feedback

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 04:32:41 +00:00
copilot-swe-agent[bot]
ba38c1bf26 feat(constraints): Add PRIMARY KEY constraint support and enhance column management tests
- 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>
2026-01-08 04:29:19 +00:00
copilot-swe-agent[bot]
234412df89 Fix: Add useCallback to fetchConstraints to prevent stale closure issues
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 04:13:59 +00:00
copilot-swe-agent[bot]
94a55daaab Add Constraint Management UI components and integration
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 04:07:30 +00:00
copilot-swe-agent[bot]
523bbd1377 docs: Add comments explaining sql.raw() usage for DDL statements
- 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>
2026-01-08 03:51:09 +00:00
copilot-swe-agent[bot]
29f7ba86a9 refactor: Address code review feedback
- Replace 'as any' with proper FeaturesConfig type definition
- Improve CHECK constraint SQL injection validation with comprehensive patterns
- Move isValidIdentifier to shared validation module
- Add comprehensive unit tests for identifier validation (12 tests)
- Fix all linting issues
- All 52 unit tests passing

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 03:48:44 +00:00
copilot-swe-agent[bot]
42f58b94d7 docs: Update documentation for constraint management feature
- 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>
2026-01-08 03:44:45 +00:00
copilot-swe-agent[bot]
5fb035e29c feat: Add constraint management API and configuration
- 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>
2026-01-08 03:42:13 +00:00
copilot-swe-agent[bot]
a91f6d95fd plan: Define implementation strategy for constraint management
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 03:39:09 +00:00
copilot-swe-agent[bot]
54642627b3 Fix: Remove hardcoded dataTypes defaults, make them required props from config
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 03:03:50 +00:00
copilot-swe-agent[bot]
190757d0ab Add reusable components and code style guide following config-driven architecture
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 03:01:16 +00:00
copilot-swe-agent[bot]
c07ef4196e Add Table Manager and Column Manager UI to admin dashboard
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 02:53:50 +00:00
copilot-swe-agent[bot]
521db9e710 Document configuration-driven architecture in README and ROADMAP
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 02:31:38 +00:00
copilot-swe-agent[bot]
5560cc184a Add configuration-driven features with JSON and reusable components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 02:28:39 +00:00
copilot-swe-agent[bot]
684d8cd73c Add password generator, Caprover deployment, and position as modern legacy tool replacement
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 01:37:58 +00:00
copilot-swe-agent[bot]
e4ec2b7d18 Add enhanced security: validate table names, require JWT_SECRET, improve query validation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 01:29:48 +00:00
copilot-swe-agent[bot]
8765b6c589 Fix security issues and linting errors
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 01:24:38 +00:00
copilot-swe-agent[bot]
fa2f365608 Add complete Postgres Web Admin UI with Material UI and all-in-one Docker
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 01:18:34 +00:00
3ebf60d5dd Initial commit 2026-01-08 01:04:26 +00:00