[chore]: Bump github.com/uptrace/bun from 1.2.6 to 1.2.8

Bumps [github.com/uptrace/bun](https://github.com/uptrace/bun) from 1.2.6 to 1.2.8.
- [Release notes](https://github.com/uptrace/bun/releases)
- [Changelog](https://github.com/uptrace/bun/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uptrace/bun/compare/v1.2.6...v1.2.8)

---
updated-dependencies:
- dependency-name: github.com/uptrace/bun
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2025-01-14 13:12:55 +00:00 committed by GitHub
commit 1d8bd30603
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 611 additions and 121 deletions

View file

@ -15,7 +15,8 @@ type DropIndexQuery struct {
concurrently bool
ifExists bool
index schema.QueryWithArgs
index schema.QueryWithArgs
comment string
}
var _ Query = (*DropIndexQuery)(nil)
@ -74,6 +75,14 @@ func (q *DropIndexQuery) Index(query string, args ...interface{}) *DropIndexQuer
//------------------------------------------------------------------------------
// Comment adds a comment to the query, wrapped by /* ... */.
func (q *DropIndexQuery) Comment(comment string) *DropIndexQuery {
q.comment = comment
return q
}
//------------------------------------------------------------------------------
func (q *DropIndexQuery) Operation() string {
return "DROP INDEX"
}
@ -83,6 +92,8 @@ func (q *DropIndexQuery) AppendQuery(fmter schema.Formatter, b []byte) (_ []byte
return nil, q.err
}
b = appendComment(b, q.comment)
b = append(b, "DROP INDEX "...)
if q.concurrently {