Drop v332 migration, keep project_board.sorting as int8

Per review feedback, the 127-column cap is intentional (maxProjectColumns
is 20), so the DB schema is left as-is and no migration is needed. Reverts
the Column.Sorting widening to match.

Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
silverwindandClaude authored and beardev-in committed 2026-05-03 14:32:40 +05:30
1 parent 608b271efc
commit 63b6e71551
8 files changed
+13 -55

No files matched your search

+3 -3
View File
@@ -64,9 +64,9 @@ func TestMoveRepoProjectColumns(t *testing.T) {
columns, err := project_model.GetProjectColumns(t.Context(), project1.ID, db.ListOptionsAll)
assert.NoError(t, err)
assert.Len(t, columns, 3)
assert.Equal(t, 0, columns[0].Sorting)
assert.Equal(t, 1, columns[1].Sorting)
assert.Equal(t, 2, columns[2].Sorting)
assert.EqualValues(t, 0, columns[0].Sorting)
assert.EqualValues(t, 1, columns[1].Sorting)
assert.EqualValues(t, 2, columns[2].Sorting)
sess := loginUser(t, "user1")
req := NewRequest(t, "GET", fmt.Sprintf("/%s/projects/%d", repo2.FullName(), project1.ID))