Skip to content

chore: Remove unnecessary "if" condtion#1117

Merged
gfx merged 2 commits intosqldef:masterfrom
winebarrel:chore/remove_unnecessary_conds
Feb 3, 2026
Merged

chore: Remove unnecessary "if" condtion#1117
gfx merged 2 commits intosqldef:masterfrom
winebarrel:chore/remove_unnecessary_conds

Conversation

@winebarrel
Copy link
Contributor

Since primaryKeyColumn is checked on line 2682,
(primaryKeyColumn == nil || ...) seems unnecessary.

@winebarrel winebarrel changed the title Remove unnecessary "if" condtion chore: Remove unnecessary "if" condtion Feb 2, 2026
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
schema/generator.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
schema/generator.go 80.99% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gfx gfx enabled auto-merge February 3, 2026 05:19
@gfx gfx added this pull request to the merge queue Feb 3, 2026
Merged via the queue into sqldef:master with commit df232b4 Feb 3, 2026
24 of 25 checks passed
@sqldef-bot sqldef-bot bot mentioned this pull request Feb 3, 2026
@winebarrel winebarrel deleted the chore/remove_unnecessary_conds branch February 3, 2026 05:48
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.

2 participants