schema

package
v0.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TableNameArtifactPropertyOption = "artifact_property_options"
View Source
const TableNameContextPropertyOption = "context_property_options"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactPropertyOption

type ArtifactPropertyOption struct {
	TypeID           int32           `gorm:"column:type_id;not null" json:"type_id"`
	Name             string          `gorm:"column:name;not null" json:"name"`
	IsCustomProperty bool            `gorm:"column:is_custom_property;not null" json:"is_custom_property"`
	StringValue      *pq.StringArray `gorm:"column:string_value;type:text[]" json:"string_value"`
	ArrayValue       *pq.StringArray `gorm:"column:array_value;type:text[]" json:"array_value"`
	MinDoubleValue   *float64        `gorm:"column:min_double_value" json:"min_double_value"`
	MaxDoubleValue   *float64        `gorm:"column:max_double_value" json:"max_double_value"`
	MinIntValue      *int64          `gorm:"column:min_int_value" json:"min_int_value"`
	MaxIntValue      *int64          `gorm:"column:max_int_value" json:"max_int_value"`
}

ArtifactPropertyOption mapped from materialized view <artifact_property_options>

func (*ArtifactPropertyOption) TableName

func (*ArtifactPropertyOption) TableName() string

TableName ArtifactPropertyOption's table name

type ContextPropertyOption

type ContextPropertyOption struct {
	TypeID           int32           `gorm:"column:type_id;not null" json:"type_id"`
	Name             string          `gorm:"column:name;not null" json:"name"`
	IsCustomProperty bool            `gorm:"column:is_custom_property;not null" json:"is_custom_property"`
	StringValue      *pq.StringArray `gorm:"column:string_value;type:text[]" json:"string_value"`
	ArrayValue       *pq.StringArray `gorm:"column:array_value;type:text[]" json:"array_value"`
	MinDoubleValue   *float64        `gorm:"column:min_double_value" json:"min_double_value"`
	MaxDoubleValue   *float64        `gorm:"column:max_double_value" json:"max_double_value"`
	MinIntValue      *int64          `gorm:"column:min_int_value" json:"min_int_value"`
	MaxIntValue      *int64          `gorm:"column:max_int_value" json:"max_int_value"`
}

ContextPropertyOption mapped from materialized view <context_property_options>

func (*ContextPropertyOption) TableName

func (*ContextPropertyOption) TableName() string

TableName ContextPropertyOption's table name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL