migrationscripts

package
v0.0.0-...-1fa52ee Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more Imports: 11 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

Types

type SonarQubeScopeConfig20231214

type SonarQubeScopeConfig20231214 struct {
	archived.ScopeConfig `mapstructure:",squash" json:",inline" gorm:"embedded"`
	Name                 string `gorm:"type:varchar(255);index:idx_name_sonarqube,unique" validate:"required" mapstructure:"name" json:"name"`
}

func (SonarQubeScopeConfig20231214) TableName

func (o SonarQubeScopeConfig20231214) TableName() string

type SonarqubeIssue20230206After

type SonarqubeIssue20230206After struct {
	ConnectionId uint64 `gorm:"primaryKey"`
	IssueKey     string `gorm:"primaryKey;type:varchar(100)"`
	Rule         string `gorm:"type:varchar(255)"`
	Severity     string `gorm:"type:varchar(100)"`
	Component    string `gorm:"type:varchar(255)"`
	ProjectKey   string `gorm:"index;type:varchar(255)"` // expand this
	Line         int
	Status       string `gorm:"type:varchar(20)"`
	Message      string
	Debt         int
	Effort       int
	Author       string `gorm:"type:varchar(100)"`
	Hash         string `gorm:"type:varchar(100)"`
	Tags         string
	Type         string `gorm:"type:varchar(100)"`
	Scope        string `gorm:"type:varchar(255)"`
	StartLine    int
	EndLine      int
	StartOffset  int
	EndOffset    int
	CreationDate *time.Time
	UpdateDate   *time.Time
	archived.NoPKModel
}

func (SonarqubeIssue20230206After) TableName

func (SonarqubeIssue20230206After) TableName() string

type SonarqubeIssue20230206Before

type SonarqubeIssue20230206Before struct {
	ConnectionId uint64 `gorm:"primaryKey"`
	IssueKey     string `gorm:"primaryKey;type:varchar(100)"`
	Rule         string `gorm:"type:varchar(255)"`
	Severity     string `gorm:"type:varchar(100)"`
	Component    string `gorm:"type:varchar(255)"`
	ProjectKey   string `gorm:"index;type:varchar(100)"`
	Line         int
	Status       string `gorm:"type:varchar(20)"`
	Message      string
	Debt         int
	Effort       int
	Author       string `gorm:"type:varchar(100)"`
	Hash         string `gorm:"type:varchar(100)"`
	Tags         string
	Type         string `gorm:"type:varchar(100)"`
	Scope        string `gorm:"type:varchar(255)"`
	StartLine    int
	EndLine      int
	StartOffset  int
	EndOffset    int
	CreationDate *time.Time
	UpdateDate   *time.Time
	archived.NoPKModel
}

func (SonarqubeIssue20230206Before) TableName

type SonarqubeProject20230206After

type SonarqubeProject20230206After struct {
	archived.NoPKModel `json:"-" mapstructure:"-"`
	ConnectionId       uint64     `json:"connectionId" validate:"required" gorm:"primaryKey"`
	ProjectKey         string     `json:"projectKey" validate:"required" gorm:"type:varchar(255);primaryKey"` // expand this
	Name               string     `json:"name" gorm:"type:varchar(255)"`
	Qualifier          string     `json:"qualifier" gorm:"type:varchar(255)"`
	Visibility         string     `json:"visibility" gorm:"type:varchar(64)"`
	LastAnalysisDate   *time.Time `json:"lastAnalysisDate"`
	Revision           string     `json:"revision" gorm:"type:varchar(128)"`
}

func (SonarqubeProject20230206After) TableName

type SonarqubeProject20230206Before

type SonarqubeProject20230206Before struct {
	archived.NoPKModel `json:"-" mapstructure:"-"`
	ConnectionId       uint64     `json:"connectionId" validate:"required" gorm:"primaryKey"`
	ProjectKey         string     `json:"projectKey" validate:"required" gorm:"type:varchar(64);primaryKey"`
	Name               string     `json:"name" gorm:"type:varchar(255)"`
	Qualifier          string     `json:"qualifier" gorm:"type:varchar(255)"`
	Visibility         string     `json:"visibility" gorm:"type:varchar(64)"`
	LastAnalysisDate   *time.Time `json:"lastAnalysisDate"`
	Revision           string     `json:"revision" gorm:"type:varchar(128)"`
}

func (SonarqubeProject20230206Before) TableName

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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