mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: persist template import terraform plan in postgres (#17012)
This commit is contained in:
@@ -3139,6 +3139,12 @@ type TemplateVersionTable struct {
|
||||
SourceExampleID sql.NullString `db:"source_example_id" json:"source_example_id"`
|
||||
}
|
||||
|
||||
type TemplateVersionTerraformValue struct {
|
||||
TemplateVersionID uuid.UUID `db:"template_version_id" json:"template_version_id"`
|
||||
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
|
||||
CachedPlan json.RawMessage `db:"cached_plan" json:"cached_plan"`
|
||||
}
|
||||
|
||||
type TemplateVersionVariable struct {
|
||||
TemplateVersionID uuid.UUID `db:"template_version_id" json:"template_version_id"`
|
||||
// Variable name
|
||||
|
||||
Reference in New Issue
Block a user