MCPcopy Index your code
hub / github.com/apache/devlake / Register

Method Register

backend/core/plugin/plugin_migration.go:34–34  ·  view source on GitHub ↗
(scripts []MigrationScript, comment string)

Source from the content-addressed store, hash-verified

32// Migrator is responsible for making sure the registered scripts get applied to database and only once
33type Migrator interface {
34 Register(scripts []MigrationScript, comment string)
35 Execute() errors.Error
36 HasPendingScripts() bool
37}

Callers 5

TestHasPendingScriptsFunction · 0.95
DirectRunFunction · 0.65
InitResourcesFunction · 0.65

Implementers 1

migratorImplbackend/core/migration/migrator.go

Calls

no outgoing calls

Tested by 1

TestHasPendingScriptsFunction · 0.76