From 3fc8a7ddc7cbdc8616fc834726bab9e2293156c4 Mon Sep 17 00:00:00 2001 From: Acho Arnold Date: Wed, 4 Oct 2023 09:51:58 +0300 Subject: [PATCH] Drop unsed indexes --- api/pkg/entities/message_thread.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/pkg/entities/message_thread.go b/api/pkg/entities/message_thread.go index 8ccb3345..0766c5ed 100644 --- a/api/pkg/entities/message_thread.go +++ b/api/pkg/entities/message_thread.go @@ -19,7 +19,7 @@ type MessageThread struct { LastMessageID uuid.UUID `json:"last_message_id" example:"32343a19-da5e-4b1b-a767-3298a73703ca"` CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:09.527976+03:00"` UpdatedAt time.Time `json:"updated_at" example:"2022-06-05T14:26:09.527976+03:00"` - OrderTimestamp time.Time `json:"order_timestamp" gorm:"index:idx_message_threads_order_timestamp" example:"2022-06-05T14:26:09.527976+03:00"` + OrderTimestamp time.Time `json:"order_timestamp" example:"2022-06-05T14:26:09.527976+03:00"` } // Update a message thread after a message event