fix: sync postgres sqlc migration gate
Sync telesrv 00daf89 (fix(postgres): sync sqlc model and migration gate).
This commit is contained in:
parent
bf965f610c
commit
3f78eaa2c6
2 changed files with 4 additions and 2 deletions
|
|
@ -692,6 +692,8 @@ type ChannelMessage struct {
|
|||
DeleteDate int32
|
||||
DeleteMessageIds []byte
|
||||
RequestFingerprint []byte
|
||||
SuggestedPost []byte
|
||||
PaidMessageStars int64
|
||||
}
|
||||
|
||||
type ChannelMessageMedium struct {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue