MCPcopy
hub / github.com/pocketbase/pocketbase / RunSystemMigrations

Method RunSystemMigrations

core/base.go:784–787  ·  view source on GitHub ↗

RunSystemMigrations applies all new migrations registered in the [core.SystemMigrations] list.

()

Source from the content-addressed store, hash-verified

782
783// RunSystemMigrations applies all new migrations registered in the [core.SystemMigrations] list.
784func (app *BaseApp) RunSystemMigrations() error {
785 _, err := NewMigrationsRunner(app, SystemMigrations).Up()
786 return err
787}
788
789// RunAppMigrations applies all new migrations registered in the [core.AppMigrations] list.
790func (app *BaseApp) RunAppMigrations() error {

Callers 1

BootstrapMethod · 0.95

Calls 2

NewMigrationsRunnerFunction · 0.85
UpMethod · 0.80

Tested by

no test coverage detected