mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 18: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
4
vendor/github.com/uptrace/bun/schema/field.go
generated
vendored
4
vendor/github.com/uptrace/bun/schema/field.go
generated
vendored
|
|
@ -101,7 +101,9 @@ func (f *Field) ScanValue(strct reflect.Value, src interface{}) error {
|
|||
func (f *Field) markAsPK() {
|
||||
f.IsPK = true
|
||||
f.NotNull = true
|
||||
f.NullZero = true
|
||||
if !f.Tag.HasOption("allowzero") {
|
||||
f.NullZero = true
|
||||
}
|
||||
}
|
||||
|
||||
func indexEqual(ind1, ind2 []int) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue