Skip to content

Commit

Permalink
Drop unsed indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed Oct 4, 2023
1 parent 036f6ad commit 3fc8a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/pkg/entities/message_thread.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fc8a7d

Please sign in to comment.