Skip to content

fix(grz-db): correct tan_g population by raising sqlmodel floor#594

Merged
tedil merged 2 commits into
mainfrom
fix/grz-db-sqlmodel-floor
Jun 8, 2026
Merged

fix(grz-db): correct tan_g population by raising sqlmodel floor#594
tedil merged 2 commits into
mainfrom
fix/grz-db-sqlmodel-floor

Conversation

@beoinformatics

@beoinformatics beoinformatics commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Change

Changed minimum version floor of sqlmodel in grz-db/pyproject.toml from 0.027 to 0.0.38.
Rationale: the earlier version of the external sqlmodel package had broken handling of aliases . Since we use 'tanG' as alias for 'tan_g' attribute in the code, the tan_g value was not populated correctly and remained NULL, thus bypassing the uniqueness constraint for tan_g values.

@beoinformatics beoinformatics requested a review from tedil June 8, 2026 08:17
@tedil tedil added this pull request to the merge queue Jun 8, 2026
Merged via the queue into main with commit abaa69f Jun 8, 2026
30 of 33 checks passed
@tedil tedil deleted the fix/grz-db-sqlmodel-floor branch June 8, 2026 08:50
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.

3 participants