migration

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Migrations = []Migration{}

Functions

func AddClaimedFieldToEventCount added in v1.2.0

func AddClaimedFieldToEventCount(db *gorm.DB) (err error)

func AddMigration added in v1.3.3

func AddMigration(migration func(db *gorm.DB) error, dateTime string)

func DropAgentColumnFromSubnetState added in v1.3.3

func DropAgentColumnFromSubnetState(db *gorm.DB) (err error)

func DropAttachmentsColumnFromMessageState added in v1.3.3

func DropAttachmentsColumnFromMessageState(db *gorm.DB) (err error)

func DropOwnerColumnFromSubnetState added in v1.3.3

func DropOwnerColumnFromSubnetState(db *gorm.DB) (err error)

func DropTopicIdColumnFromMessageState added in v1.3.3

func DropTopicIdColumnFromMessageState(db *gorm.DB) (err error)

func MigrateAuthIndex

func MigrateAuthIndex(db *gorm.DB) (err error)

Types

type Migration

type Migration struct {
	Id       string
	DateTime string
	Migrate  func(db *gorm.DB) error
}

Jump to

Keyboard shortcuts

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