first commit
This commit is contained in:
13
framework/configstore/tables/modelparameters.go
Normal file
13
framework/configstore/tables/modelparameters.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package tables
|
||||
|
||||
// TableModelParameters stores model parameters and capabilities data
|
||||
// synced from the external datasheet API. Each row holds one model's
|
||||
// full parameter/capability JSON blob.
|
||||
type TableModelParameters struct {
|
||||
ID uint `gorm:"primaryKey;autoIncrement" json:"id"`
|
||||
Model string `gorm:"type:varchar(255);not null;uniqueIndex:idx_model_params_model" json:"model"`
|
||||
Data string `gorm:"type:text;not null" json:"data"` // Raw JSON blob
|
||||
}
|
||||
|
||||
// TableName sets the table name
|
||||
func (TableModelParameters) TableName() string { return "governance_model_parameters" }
|
||||
Reference in New Issue
Block a user