Skip to content

Commit 0b3a64d

Browse files
Merge branch 'master' into docker-label
2 parents 418df6e + 4fa74ce commit 0b3a64d

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/setup-go@v6
99
with:
10-
go-version: 1.25.x
10+
go-version: 1.26.x
1111
- uses: actions/setup-node@v6
1212
with:
1313
node-version: '24'
@@ -16,7 +16,7 @@ jobs:
1616
- run: make build-js
1717
- uses: golangci/golangci-lint-action@v9
1818
with:
19-
version: v2.4.0
19+
version: v2.10.1
2020
args: --timeout=5m
2121
skip-cache: true
2222
- run: go mod download

GO_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.25.1
1+
1.26.0

database/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func fillMissingSortKeys(db *gorm.DB) error {
111111
if err := db.Order("user_id, sort_key, id ASC").Find(&apps).Error; err != nil && err != gorm.ErrRecordNotFound {
112112
return err
113113
}
114-
fmt.Println("Migrating", len(apps), "application sort keys for")
114+
fmt.Println("Migrating", len(apps), "application sort keys")
115115

116116
sortKey := ""
117117
currentUser := uint(math.MaxUint)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ require (
6868

6969
go 1.24.0
7070

71-
toolchain go1.25.1
71+
toolchain go1.26.0

model/application.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ type Application struct {
5858
//
5959
// required: true
6060
// example: a1
61-
SortKey string `gorm:"uniqueIndex:uix_application_user_id_sort_key,priority:2" form:"sortKey" query:"sortKey" json:"sortKey"`
61+
SortKey string `gorm:"type:bytes;uniqueIndex:uix_application_user_id_sort_key,priority:2,length:255" form:"sortKey" query:"sortKey" json:"sortKey"`
6262
}

0 commit comments

Comments
 (0)