mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 12:02:25 -05:00
upstep bun version (#243)
This commit is contained in:
parent
ddfd83d0fb
commit
142f37f1bd
23 changed files with 146 additions and 57 deletions
3
vendor/github.com/uptrace/bun/model_table_struct.go
generated
vendored
3
vendor/github.com/uptrace/bun/model_table_struct.go
generated
vendored
|
|
@ -216,6 +216,9 @@ func (m *structTableModel) join(bind reflect.Value, name string) *relationJoin {
|
|||
}
|
||||
|
||||
func (m *structTableModel) updateSoftDeleteField(tm time.Time) error {
|
||||
if !m.strct.IsValid() {
|
||||
return nil
|
||||
}
|
||||
fv := m.table.SoftDeleteField.Value(m.strct)
|
||||
return m.table.UpdateSoftDeleteField(fv, tm)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue