package database // Setting stores application-level key-value configuration. // Used for auto-generated values like the session encryption key. type Setting struct { Key string `gorm:"primaryKey" json:"key"` // Value holds the session encryption key, so it is never // marshalled with the model. Value string `gorm:"type:text;not null" json:"-"` }