environments

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	bun.BaseModel `bun:"table:environments,alias:e"`

	ID          uuid.UUID  `bun:",pk,type:uuid" json:"id"`
	Key         string     `bun:"key,notnull" json:"key"`
	Name        string     `bun:"name,notnull" json:"name"`
	Description *string    `bun:"description" json:"description,omitempty"`
	IsActive    bool       `bun:"is_active,notnull,default:true" json:"is_active"`
	IsDefault   bool       `bun:"is_default,notnull,default:false" json:"is_default"`
	CreatedAt   time.Time  `bun:"created_at,nullzero,default:current_timestamp" json:"created_at"`
	UpdatedAt   time.Time  `bun:"updated_at,nullzero,default:current_timestamp" json:"updated_at"`
	DeletedAt   *time.Time `bun:"deleted_at,nullzero" json:"deleted_at,omitempty"`
}

Environment defines a scoped workspace for content and configuration.

Jump to

Keyboard shortcuts

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