migrationscripts

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitlabIssue20220525

type GitlabIssue20220525 struct {
	GitlabId        int    `gorm:"primaryKey"`
	ProjectId       int    `gorm:"index"`
	Number          int    `gorm:"index;comment:Used in API requests ex. api/repo/1/issue/<THIS_NUMBER>"`
	State           string `gorm:"type:varchar(255)"`
	Title           string
	Body            string
	Priority        string `gorm:"type:varchar(255)"`
	Type            string `gorm:"type:varchar(100)"`
	Status          string `gorm:"type:varchar(255)"`
	AssigneeId      int
	AssigneeName    string `gorm:"type:varchar(255)"`
	LeadTimeMinutes uint
	Url             string `gorm:"type:varchar(255)"`
	ClosedAt        *time.Time
	GitlabCreatedAt time.Time
	GitlabUpdatedAt time.Time `gorm:"index"`
	Severity        string    `gorm:"type:varchar(255)"`
	Component       string    `gorm:"type:varchar(255)"`
	TimeEstimate    int64
	TotalTimeSpent  int64
	archived.NoPKModel
}

func (GitlabIssue20220525) TableName

func (GitlabIssue20220525) TableName() string

type GitlabIssueLabel20220525

type GitlabIssueLabel20220525 struct {
	IssueId   int    `gorm:"primaryKey;autoIncrement:false"`
	LabelName string `gorm:"primaryKey;type:varchar(255)"`
	archived.NoPKModel
}

func (GitlabIssueLabel20220525) TableName

func (GitlabIssueLabel20220525) TableName() string

type InitSchemas

type InitSchemas struct{}

func (*InitSchemas) Name

func (*InitSchemas) Name() string

func (*InitSchemas) Up

func (*InitSchemas) Up(ctx context.Context, db *gorm.DB) error

func (*InitSchemas) Version

func (*InitSchemas) Version() uint64

type UpdateSchemas20220510

type UpdateSchemas20220510 struct{}

func (*UpdateSchemas20220510) Name

func (*UpdateSchemas20220510) Name() string

func (*UpdateSchemas20220510) Owner

func (*UpdateSchemas20220510) Owner() string

func (*UpdateSchemas20220510) Up

func (*UpdateSchemas20220510) Version

func (*UpdateSchemas20220510) Version() uint64

type UpdateSchemas20220525

type UpdateSchemas20220525 struct{}

func (*UpdateSchemas20220525) Name

func (*UpdateSchemas20220525) Name() string

func (*UpdateSchemas20220525) Owner

func (*UpdateSchemas20220525) Owner() string

func (*UpdateSchemas20220525) Up

func (*UpdateSchemas20220525) Version

func (*UpdateSchemas20220525) Version() uint64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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