This repository has been archived on 2022-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
gosocial/pkg/models/profile.go
Noah Petherbridge c43d052665 User Profile and Settings Pages
* Vendor fontawesome icons
* User settings page: to edit profile details (other features not hooked
  up yet)
* Initial user profile page
2022-08-10 20:59:59 -07:00

15 lines
314 B
Go

package models
import "time"
// ProfileField table for arbitrary user profile settings.
type ProfileField struct {
ID uint64 `gorm:"primaryKey"`
UserID uint64 `gorm:"index"`
User User
Name string `gorm:"index"`
Value string `gorm:"index"`
CreatedAt time.Time
UpdatedAt time.Time
}