Encrypted messaging app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
248 B

  1. package Models
  2. import "github.com/gofrs/uuid"
  3. type Friend struct {
  4. Base
  5. UserID uuid.UUID `gorm:"type:uuid;column:user_id;not null;" json:"user_id"`
  6. FriendId string `gorm:"column:friend_id;not null" json:"friend_id"` // Stored encrypted
  7. }