migrations

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddExternalAlertmanagerToDatasourceMigration

func AddExternalAlertmanagerToDatasourceMigration(mg *migrator.Migrator)

Types

type AddMakeRegionSingleRowMigration

type AddMakeRegionSingleRowMigration struct {
	MigrationBase
}

func (*AddMakeRegionSingleRowMigration) Exec

func (m *AddMakeRegionSingleRowMigration) Exec(sess *xorm.Session, mg *Migrator) error

func (*AddMakeRegionSingleRowMigration) SQL

func (m *AddMakeRegionSingleRowMigration) SQL(dialect Dialect) string

type AddMissingUserSaltAndRandsMigration

type AddMissingUserSaltAndRandsMigration struct {
	MigrationBase
}

func (*AddMissingUserSaltAndRandsMigration) Exec

func (m *AddMissingUserSaltAndRandsMigration) Exec(sess *xorm.Session, mg *Migrator) error

func (*AddMissingUserSaltAndRandsMigration) SQL

func (m *AddMissingUserSaltAndRandsMigration) SQL(dialect Dialect) string

type AdminConfiguration

type AdminConfiguration struct {
	OrgID int64 `xorm:"org_id"`

	Alertmanagers []string

	CreatedAt int64 `xorm:"created_at"`
	UpdatedAt int64 `xorm:"updated_at"`
}

type OSSMigrations

type OSSMigrations struct {
}

func ProvideOSSMigrations

func ProvideOSSMigrations() *OSSMigrations

func (*OSSMigrations) AddMigration

func (*OSSMigrations) AddMigration(mg *Migrator)

type SetCreatedForOutstandingInvites

type SetCreatedForOutstandingInvites struct {
	MigrationBase
}

func (*SetCreatedForOutstandingInvites) Exec

func (m *SetCreatedForOutstandingInvites) Exec(sess *xorm.Session, mg *Migrator) error

func (*SetCreatedForOutstandingInvites) SQL

func (m *SetCreatedForOutstandingInvites) SQL(dialect Dialect) string

type TempRegionInfoDTO

type TempRegionInfoDTO struct {
	RegionId int64
	Epoch    int64
}

type TempUserDTO

type TempUserDTO struct {
	Id    int64
	Login string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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