Skip to content

Commit 3fc8a7d

Browse files
committed
Drop unsed indexes
1 parent 036f6ad commit 3fc8a7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/pkg/entities/message_thread.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type MessageThread struct {
1919
LastMessageID uuid.UUID `json:"last_message_id" example:"32343a19-da5e-4b1b-a767-3298a73703ca"`
2020
CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:09.527976+03:00"`
2121
UpdatedAt time.Time `json:"updated_at" example:"2022-06-05T14:26:09.527976+03:00"`
22-
OrderTimestamp time.Time `json:"order_timestamp" gorm:"index:idx_message_threads_order_timestamp" example:"2022-06-05T14:26:09.527976+03:00"`
22+
OrderTimestamp time.Time `json:"order_timestamp" example:"2022-06-05T14:26:09.527976+03:00"`
2323
}
2424

2525
// Update a message thread after a message event

0 commit comments

Comments
 (0)