scripts

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ORMAlters

func ORMAlters() *service.DefinitionGlobal

func Seeder added in v0.8.55

func Seeder(seedsPerProject map[string][]Seed, ormService *beeorm.Engine, appService *app.App)

Types

type DBSeedScript added in v0.8.55

type DBSeedScript struct {
	SeedsPerProject map[string][]Seed
}

func (*DBSeedScript) Description added in v0.8.55

func (script *DBSeedScript) Description() string

func (*DBSeedScript) Run added in v0.8.55

func (script *DBSeedScript) Run(_ context.Context, _ app.IExit)

func (*DBSeedScript) Unique added in v0.8.55

func (script *DBSeedScript) Unique() bool

type ORMAltersScript

type ORMAltersScript struct {
}

func (*ORMAltersScript) Active

func (script *ORMAltersScript) Active() bool

func (*ORMAltersScript) Description

func (script *ORMAltersScript) Description() string

func (*ORMAltersScript) Run

func (script *ORMAltersScript) Run(_ context.Context, exit app.IExit)

func (*ORMAltersScript) Unique

func (script *ORMAltersScript) Unique() bool

type Seed added in v0.8.55

type Seed interface {
	Execute(*beeorm.Engine)
	Environments() []string
	Name() string
}

Jump to

Keyboard shortcuts

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