summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/query_table_drop.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/uptrace/bun/query_table_drop.go')
-rw-r--r--vendor/github.com/uptrace/bun/query_table_drop.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/query_table_drop.go b/vendor/github.com/uptrace/bun/query_table_drop.go
index 4e7d305a9..78d964d7a 100644
--- a/vendor/github.com/uptrace/bun/query_table_drop.go
+++ b/vendor/github.com/uptrace/bun/query_table_drop.go
@@ -123,6 +123,9 @@ func (q *DropTableQuery) Exec(ctx context.Context, dest ...interface{}) (sql.Res
}
}
+ // if a comment is propagated via the context, use it
+ setCommentFromContext(ctx, q)
+
queryBytes, err := q.AppendQuery(q.db.fmter, q.db.makeQueryBytes())
if err != nil {
return nil, err