migrationscripts

package
v0.15.0-zenta-beta3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v0.12.0

func All() []core.MigrationScript

All return all the migration scripts of framework

Types

type BlueprintEncryption0904 added in v0.14.4

type BlueprintEncryption0904 struct {
	archived.Model
	Plan     string
	Settings string
}

type CICDPipelineRelationship20221107 added in v0.15.0

type CICDPipelineRelationship20221107 struct{}

func (CICDPipelineRelationship20221107) TableName added in v0.15.0

type CollectorState20221101 added in v0.15.0

type CollectorState20221101 struct {
	commonArchived.GenericModel[string]
	Type  string
	Value datatypes.JSON
}

func (CollectorState20221101) TableName added in v0.15.0

func (CollectorState20221101) TableName() string

type CommitsDiff20221109 added in v0.15.0

type CommitsDiff20221109 struct {
	CommitSha    string `gorm:"primaryKey;type:varchar(40)"`
	NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	SortingIndex int
}

func (CommitsDiff20221109) TableName added in v0.15.0

func (CommitsDiff20221109) TableName() string

type FinishedCommitsDiffs20221109 added in v0.15.0

type FinishedCommitsDiffs20221109 struct {
	NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
}

ref_commits_diffs splits commits_diffs and finished_commits_diffs table. finished_commits_diffs records the new_commit_sha and old_commit_sha pair that is inserted after being successfully calculated.

func (FinishedCommitsDiffs20221109) TableName added in v0.15.0

type PipelineEncryption0904 added in v0.14.4

type PipelineEncryption0904 struct {
	archived.Model
	Plan string
}

type Project added in v0.15.0

type Project struct {
	Name        string `gorm:"primaryKey;type:varchar(255)"`
	Description string `gorm:"type:text"`

	archived.NoPKModel
}

func (Project) TableName added in v0.15.0

func (Project) TableName() string

type ProjectMetric added in v0.15.0

type ProjectMetric struct {
	ProjectName  string `gorm:"primaryKey;type:varchar(255)"`
	PluginName   string `gorm:"primaryKey;type:varchar(255)"`
	PluginOption string `gorm:"type:text"`

	archived.NoPKModel
}

func (ProjectMetric) TableName added in v0.15.0

func (ProjectMetric) TableName() string

type RefsCommitsDiff20221109 added in v0.15.0

type RefsCommitsDiff20221109 struct {
	NewRefId        string `gorm:"primaryKey;type:varchar(255)"`
	OldRefId        string `gorm:"primaryKey;type:varchar(255)"`
	CommitSha       string `gorm:"primaryKey;type:varchar(40)"`
	NewRefCommitSha string `gorm:"type:varchar(40)"`
	OldRefCommitSha string `gorm:"type:varchar(40)"`
	SortingIndex    int
}

func (RefsCommitsDiff20221109) TableName added in v0.15.0

func (RefsCommitsDiff20221109) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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