fix: sync postgres sqlc migration gate

Sync telesrv 00daf89 (fix(postgres): sync sqlc model and migration gate).
This commit is contained in:
A 2026-07-19 20:39:48 +08:00
parent bf965f610c
commit 3f78eaa2c6
2 changed files with 4 additions and 2 deletions

View file

@ -692,6 +692,8 @@ type ChannelMessage struct {
DeleteDate int32
DeleteMessageIds []byte
RequestFingerprint []byte
SuggestedPost []byte
PaidMessageStars int64
}
type ChannelMessageMedium struct {

View file

@ -14,7 +14,7 @@ func TestStarGiftLifecycleMigrationsApply(t *testing.T) {
if err != nil {
t.Fatalf("migrate star gift lifecycle schema: %v", err)
}
if status.Dirty || status.Empty || status.Version != 118 {
t.Fatalf("migration status = %+v, want clean version 118", status)
if status.Dirty || status.Empty || status.Version != 119 {
t.Fatalf("migration status = %+v, want clean version 119", status)
}
}