Skip to content

enable more robust code_references_col_range_check constraint#22

Merged
xueyulinn merged 1 commit into
reviewfrom
bug/alternate-db-schema-constraint
May 13, 2026
Merged

enable more robust code_references_col_range_check constraint#22
xueyulinn merged 1 commit into
reviewfrom
bug/alternate-db-schema-constraint

Conversation

@xueyulinn
Copy link
Copy Markdown
Owner

Summary

Improve column range constraints for code locations so multi-line ranges are handled correctly.

Type of Change

  • Bug fix

Changes Made

  • Updated code_chunks_col_range_check to allow column comparison only for same-line ranges.
  • Updated code_references_col_range_check to support nullable end_line and multi-line references.

How to Test

  • Not run; SQL schema change only.

Checklist

  • Code builds successfully
  • Tests added or updated
  • Existing tests pass
  • Documentation updated if needed
  • No secrets or sensitive data included
  • Breaking changes documented

Breaking Changes

None expected.

Additional Notes

Targets merge into review from bug/alternate-db-schema-constraint.

@xueyulinn xueyulinn merged commit 14ccc51 into review May 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant