Skip to content

Commit

Permalink
fix(deps): 修复数据库字段并更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
sunist-c committed Sep 26, 2024
1 parent e26fd16 commit 85a3be8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/model/openai_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
type OpenaiRequest struct {
ID int64 `gorm:"column:id;type:integer;autoIncrement:true;primaryKey;index:idx_ids"`
ClientID int64 `gorm:"column:client_id;type:integer;not null;comment:openai_client_id;index:idx_client_ids"`
RequestID string `gorm:"column:request_id;type:varchar(40);not null;comment:openai_request_id;index:idx_request_ids"`
TraceID string `gorm:"column:trace_id;type:varchar(40);not null;comment:openai_trace_id;index:idx_trace_ids"`
RequestID string `gorm:"column:request_id;type:varchar(64);not null;comment:openai_request_id;index:idx_request_ids"`
TraceID string `gorm:"column:trace_id;type:varchar(64);not null;comment:openai_trace_id;index:idx_trace_ids"`
ModelID int64 `gorm:"column:model_id;type:integer;not null;comment:openai_model_id;index:idx_model_ids"`
UserID int64 `gorm:"column:user_id;type:integer;not null;comment:openai_user_id;index:idx_user_ids"`
RequestIP string `gorm:"column:request_ip;type:varchar(40);not null;comment:openai_request_ip;index:idx_request_ips"`
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/alioth-center/akasha-whisper
go 1.22.4

require (
github.com/alioth-center/infrastructure v1.2.19-0.20240913025603-1d50932f7b1f
github.com/alioth-center/infrastructure v1.2.19-0.20240926071335-024250e552c5
github.com/bits-and-blooms/bloom/v3 v3.7.0
github.com/gin-contrib/sse v0.1.0
github.com/gin-gonic/gin v1.10.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/alioth-center/infrastructure v1.2.19-0.20240913025603-1d50932f7b1f h1:Icm1/ykakPK+mD6aa4duRFFSVcwkNdbAjSVmdvQukWE=
github.com/alioth-center/infrastructure v1.2.19-0.20240913025603-1d50932f7b1f/go.mod h1:NN+S3dKyPw7A4phkij8jzKG8aHpOqDsPG+/KRvHbAnM=
github.com/alioth-center/infrastructure v1.2.19-0.20240926071335-024250e552c5 h1:8zdKiqA3Hw2ov3pcOSZ/yks7NFn29FyX65Yr97BJ8eI=
github.com/alioth-center/infrastructure v1.2.19-0.20240926071335-024250e552c5/go.mod h1:QMr9jurGWQ30p0wG2IcatILimuSypnF0YtmyzD2PFmE=
github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bits-and-blooms/bitset v1.14.2 h1:YXVoyPndbdvcEVcseEovVfp0qjJp7S+i5+xgp/Nfbdc=
github.com/bits-and-blooms/bitset v1.14.2/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
Expand Down

0 comments on commit 85a3be8

Please sign in to comment.