Skip to content

Widen installation_history version columns to nvarchar(512) (#712)#722

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/version-column-length-712
Mar 26, 2026
Merged

Widen installation_history version columns to nvarchar(512) (#712)#722
erikdarlingdata merged 1 commit intodevfrom
fix/version-column-length-712

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

@@Version can exceed 255 chars. Fixes install detection failing on long version strings. Upgrade script for existing installs, idempotent.

@@Version can exceed 255 characters on some SQL Server editions.
This caused installation_history inserts to fail, making the
installer think it was always a fresh install.

- Fresh installs: column defined as nvarchar(512)
- Upgrades: ALTER COLUMN in 2.4.0-to-2.5.0 upgrade script
- Idempotent: checks current max_length before altering

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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