We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc9b55 commit 1c34023Copy full SHA for 1c34023
1 file changed
api/pkg/entities/message.go
@@ -90,7 +90,7 @@ type Message struct {
90
UserID UserID `json:"user_id" gorm:"index:idx_messages__user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
91
Contact string `json:"contact" example:"+18005550100"`
92
Content string `json:"content" example:"This is a sample text message"`
93
- Attachments pq.StringArray `json:"attachments" gorm:"type:text[];column:attachments_new" swaggertype:"array,string"`
+ Attachments pq.StringArray `json:"attachments" gorm:"type:text[]" swaggertype:"array,string"`
94
Encrypted bool `json:"encrypted" example:"false" gorm:"default:false"`
95
Type MessageType `json:"type" example:"mobile-terminated"`
96
Status MessageStatus `json:"status" example:"pending"`
0 commit comments