migrationscripts

package
v0.15.1-beta3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0, MIT 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 {
	NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	CommitSha    string `gorm:"primaryKey;type:varchar(40)"`
	SortingIndex int
}

func (CommitsDiff20221109) TableName added in v0.15.0

func (CommitsDiff20221109) TableName() string

type DbBlueprintLabel20221115 added in v0.15.0

type DbBlueprintLabel20221115 struct {
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
	BlueprintId uint64    `json:"blueprint_id" gorm:"primaryKey"`
	Name        string    `json:"name" gorm:"primaryKey;index"`
}

func (DbBlueprintLabel20221115) TableName added in v0.15.0

func (DbBlueprintLabel20221115) TableName() string

type DbPipelineLabel20221115 added in v0.15.0

type DbPipelineLabel20221115 struct {
	CreatedAt  time.Time `json:"createdAt"`
	UpdatedAt  time.Time `json:"updatedAt"`
	PipelineId uint64    `json:"pipeline_id" gorm:"primaryKey"`
	Name       string    `json:"name" gorm:"primaryKey;index"`
}

func (DbPipelineLabel20221115) TableName added in v0.15.0

func (DbPipelineLabel20221115) 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 ProjectMetric20221201 added in v0.15.0

type ProjectMetric20221201 struct {
	Enable bool `gorm:"type:boolean"`
}

func (ProjectMetric20221201) TableName added in v0.15.0

func (ProjectMetric20221201) TableName() string

type ProjectMetricSetting added in v0.15.0

type ProjectMetricSetting struct {
}

func (ProjectMetricSetting) TableName added in v0.15.0

func (ProjectMetricSetting) TableName() string

type RefCommits20221109 added in v0.15.0

type RefCommits20221109 struct {
	NewRefId     string `gorm:"primaryKey;type:varchar(255)"`
	OldRefId     string `gorm:"primaryKey;type:varchar(255)"`
	NewCommitSha string `gorm:"type:varchar(40)"`
	OldCommitSha string `gorm:"type:varchar(40)"`
}

func (RefCommits20221109) TableName added in v0.15.0

func (RefCommits20221109) 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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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