Skip to content

Explicitly set type in binary parameter inside Version20260607082210 DB migration#2620

Merged
acelaya merged 1 commit into
shlinkio:developfrom
acelaya-forks:postgres-migration-fix
Jun 11, 2026
Merged

Explicitly set type in binary parameter inside Version20260607082210 DB migration#2620
acelaya merged 1 commit into
shlinkio:developfrom
acelaya-forks:postgres-migration-fix

Conversation

@acelaya

@acelaya acelaya commented Jun 11, 2026

Copy link
Copy Markdown
Member

Closes #2619

@acelaya acelaya merged commit d658ede into shlinkio:develop Jun 11, 2026
21 checks passed
@acelaya acelaya deleted the postgres-migration-fix branch June 11, 2026 16:32
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.21%. Comparing base (53ac79e) to head (d7edae6).
⚠️ Report is 4 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2620   +/-   ##
==========================================
  Coverage      94.21%   94.21%           
  Complexity      1605     1605           
==========================================
  Files            273      273           
  Lines           5017     5017           
==========================================
  Hits            4727     4727           
  Misses           290      290           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Axtazer added a commit to Axtazer/harkesh-k8s-public that referenced this pull request Jun 11, 2026
PR #290 (5.1.0) introduced a migration (Version20260607082210) that
crashes on Postgres with SQLSTATE[22021] invalid byte sequence due to
a missing explicit binary parameter type (shlinkio/shlink#2619).
Fixed upstream in shlinkio/shlink#2620, released as v5.1.1.
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.

Migration Version20260607082210 fails on PostgreSQL — binary SHA-256 hash bound as string parameter

1 participant