migrationscripts

package
v0.0.0-...-7d3b672 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []plugin.MigrationScript

All return all the migration scripts of framework

Types

type BlueprintEncryption0904

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

type CICDPipelineRelationship20221107

type CICDPipelineRelationship20221107 struct{}

func (CICDPipelineRelationship20221107) TableName

type CollectorState20221101

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

func (CollectorState20221101) TableName

func (CollectorState20221101) TableName() string

type CommitsDiff20221109

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

func (CommitsDiff20221109) TableName() string

type DbBlueprintLabel20221115

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

func (DbBlueprintLabel20221115) TableName() string

type DbPipelineLabel20221115

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

func (DbPipelineLabel20221115) TableName() string

type FinishedCommitsDiffs20221109

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

type IssueRepoCommit20220222

type IssueRepoCommit20220222 struct {
	Host      string `gorm:"type:varchar(255)"`
	Namespace string `gorm:"type:varchar(255)"`
	RepoName  string `gorm:"type:varchar(255)"`
}

func (IssueRepoCommit20220222) TableName

func (IssueRepoCommit20220222) TableName() string

type PipelineEncryption0904

type PipelineEncryption0904 struct {
	archived.Model
	Plan string
}

type Project

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

	archived.NoPKModel
}

func (Project) TableName

func (Project) TableName() string

type ProjectMetric

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

func (ProjectMetric) TableName() string

type ProjectMetric20221201

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

func (ProjectMetric20221201) TableName

func (ProjectMetric20221201) TableName() string

type ProjectMetricSetting

type ProjectMetricSetting struct {
}

func (ProjectMetricSetting) TableName

func (ProjectMetricSetting) TableName() string

type PullRequestCommit20230419

type PullRequestCommit20230419 struct {
	CommitAuthorName   string `gorm:"type:varchar(255)"`
	CommitAuthorEmail  string `gorm:"type:varchar(255)"`
	CommitAuthoredDate time.Time
}

func (PullRequestCommit20230419) TableName

func (PullRequestCommit20230419) TableName() string

type RefCommits20221109

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

func (RefCommits20221109) TableName() string

type RefsCommitsDiff20221109

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

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