15 lines
314 B
Go
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
|
||
|
}
|