Commit e1ad6ae
committed
fix(jira): widen _tool_jira_issues.fix_versions column to text
The fix_versions column in _tool_jira_issues was originally created as
varchar(255) by migration 20250619, but the JiraIssue model was later
changed to type:text without a corresponding migration to alter the
existing column. On existing databases the column stayed varchar(255),
causing the extractIssues subtask to fail when an issue's joined
fix-version names exceed 255 characters:
Error 1406 (22001): Data too long for column 'fix_versions'
Add migration 20260707_change_fix_versions_to_text to alter the column
to text, matching the model definition and the domain-layer issues
table, and register it in migrationscripts/register.go.1 parent 2050954 commit e1ad6ae
2 files changed
Lines changed: 48 additions & 0 deletions
File tree
- backend/plugins/jira/models/migrationscripts
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
0 commit comments