summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/query_index_drop.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/uptrace/bun/query_index_drop.go')
-rw-r--r--vendor/github.com/uptrace/bun/query_index_drop.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/query_index_drop.go b/vendor/github.com/uptrace/bun/query_index_drop.go
index 2f5132833..071e0f937 100644
--- a/vendor/github.com/uptrace/bun/query_index_drop.go
+++ b/vendor/github.com/uptrace/bun/query_index_drop.go
@@ -36,7 +36,7 @@ func (q *DropIndexQuery) Conn(db IConn) *DropIndexQuery {
}
func (q *DropIndexQuery) Model(model interface{}) *DropIndexQuery {
- q.setTableModel(model)
+ q.setModel(model)
return q
}