migrations

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const MigrationCollection string = "migrations"

Variables

View Source
var CommentAutomation string
View Source
var DefaultTemplateSchema string
View Source
var PhishingPlaybook string
View Source
var SHA1HashAutomation string
View Source
var SimplePlaybook string
View Source
var VTHashAutomation string

Functions

func PerformMigrations

func PerformMigrations(ctx context.Context, db driver.Database) error

Types

type Migration

type Migration interface {
	MID() string
	Migrate(ctx context.Context, driver driver.Database) error
}

Jump to

Keyboard shortcuts

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